fix that scrollbars work with modals
This commit is contained in:
parent
afe46d3570
commit
3c4241b05f
1 changed files with 4 additions and 0 deletions
|
@ -239,6 +239,10 @@
|
||||||
.css('width', this.$body.width())
|
.css('width', this.$body.width())
|
||||||
.css('height', 0)
|
.css('height', 0)
|
||||||
.css('height', this.$element[0].scrollHeight)
|
.css('height', this.$element[0].scrollHeight)
|
||||||
|
|
||||||
|
if(this.scrollbarWidth){
|
||||||
|
this.$backdrop.css('width', this.$body.width() - this.scrollbarWidth)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Modal.prototype.adjustDialog = function () {
|
Modal.prototype.adjustDialog = function () {
|
||||||
|
|
Loading…
Reference in a new issue