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-12-20 08:48:24 +0300
committerMark Otto <markdotto@gmail.com>2016-12-20 08:48:24 +0300
commitab38529dcc533831341746243ef9f46ddff2171f (patch)
treea0ffdfca644f19dff1fab21af295e6d42bd0e23c /js/dist/modal.js
parent8eeb71c91c39c01142d2501e6feda7e4f09f8205 (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 d9797567cb..8a778c48b3 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',
- ACTIVE: 'active'
+ SHOW: 'show'
};
var Selector = {
@@ -179,7 +179,7 @@ var Modal = function ($) {
$(document).off(Event.FOCUSIN);
- $(this._element).removeClass(ClassName.ACTIVE);
+ $(this._element).removeClass(ClassName.SHOW);
$(this._element).off(Event.CLICK_DISMISS);
$(this._dialog).off(Event.MOUSEDOWN_DISMISS);
@@ -235,7 +235,7 @@ var Modal = function ($) {
Util.reflow(this._element);
}
- $(this._element).addClass(ClassName.ACTIVE);
+ $(this._element).addClass(ClassName.SHOW);
if (this._config.focus) {
this._enforceFocus();
@@ -354,7 +354,7 @@ var Modal = function ($) {
Util.reflow(this._backdrop);
}
- $(this._backdrop).addClass(ClassName.ACTIVE);
+ $(this._backdrop).addClass(ClassName.SHOW);
if (!callback) {
return;
@@ -367,7 +367,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.ACTIVE);
+ $(this._backdrop).removeClass(ClassName.SHOW);
var callbackRemove = function callbackRemove() {
_this8._removeBackdrop();