Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/dist/modal.js')
-rw-r--r--js/dist/modal.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/js/dist/modal.js b/js/dist/modal.js
index 8d727f9f23..9667cda28a 100644
--- a/js/dist/modal.js
+++ b/js/dist/modal.js
@@ -63,13 +63,6 @@
}
/**
- * --------------------------------------------------------------------------
- * 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() {