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:
authorXhmikosR <xhmikosr@gmail.com>2018-11-24 19:22:59 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-11-25 12:46:37 +0300
commit5c336d0247cd94ed56ac24d941f86325df474313 (patch)
tree8e905679661cec26543ded7bae9a8d53f5ed6cd9 /js/dist/modal.js
parentfdc5c1f49ab3f826fcff79c78fc0fd9adf19a6fb (diff)
Dist
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() {