1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-16 02:24:19 +02:00
This commit is contained in:
XhmikosR
2018-11-24 18:22:59 +02:00
parent fdc5c1f49a
commit 5c336d0247
44 changed files with 657 additions and 902 deletions

11
js/dist/modal.js vendored
View File

@@ -62,13 +62,6 @@
return target;
}
/**
* --------------------------------------------------------------------------
* Bootstrap (v4.1.3): modal.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
/**
* ------------------------------------------------------------------------
* Constants
@@ -180,8 +173,6 @@
this._adjustDialog();
$(document.body).addClass(ClassName.OPEN);
this._setEscapeEvent();
this._setResizeEvent();
@@ -516,6 +507,8 @@
var calculatedPadding = $(document.body).css('padding-right');
$(document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
}
$(document.body).addClass(ClassName.OPEN);
};
_proto._resetScrollbar = function _resetScrollbar() {