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:
authorMark Otto <markdotto@gmail.com>2016-10-27 19:51:22 +0300
committerMark Otto <markdotto@gmail.com>2016-10-27 19:51:22 +0300
commit9dbfc90eae7b1eda2b0e0b501a7e223d0cce688c (patch)
tree12614406d4259c56cadf1c3f46b21ab93c67c551 /js/dist/modal.js
parenta26080c04723e23da352e8115a108130725faff2 (diff)
grunt
Diffstat (limited to 'js/dist/modal.js')
-rw-r--r--js/dist/modal.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/dist/modal.js b/js/dist/modal.js
index b7631af661..3ddd84fcbf 100644
--- a/js/dist/modal.js
+++ b/js/dist/modal.js
@@ -62,7 +62,7 @@ var Modal = function ($) {
BACKDROP: 'modal-backdrop',
OPEN: 'modal-open',
FADE: 'fade',
- IN: 'in'
+ ACTIVE: 'active'
};
var Selector = {
@@ -157,7 +157,7 @@ var Modal = function ($) {
$(document).off(Event.FOCUSIN);
- $(this._element).removeClass(ClassName.IN);
+ $(this._element).removeClass(ClassName.ACTIVE);
$(this._element).off(Event.CLICK_DISMISS);
$(this._dialog).off(Event.MOUSEDOWN_DISMISS);
@@ -215,7 +215,7 @@ var Modal = function ($) {
Util.reflow(this._element);
}
- $(this._element).addClass(ClassName.IN);
+ $(this._element).addClass(ClassName.ACTIVE);
if (this._config.focus) {
this._enforceFocus();
@@ -328,7 +328,7 @@ var Modal = function ($) {
Util.reflow(this._backdrop);
}
- $(this._backdrop).addClass(ClassName.IN);
+ $(this._backdrop).addClass(ClassName.ACTIVE);
if (!callback) {
return;
@@ -341,7 +341,7 @@ var Modal = function ($) {
$(this._backdrop).one(Util.TRANSITION_END, callback).emulateTransitionEnd(BACKDROP_TRANSITION_DURATION);
} else if (!this._isShown && this._backdrop) {
- $(this._backdrop).removeClass(ClassName.IN);
+ $(this._backdrop).removeClass(ClassName.ACTIVE);
var callbackRemove = function callbackRemove() {
_this6._removeBackdrop();