diff options
| author | Starsam80 <[email protected]> | 2016-10-27 16:13:17 -0600 |
|---|---|---|
| committer | Starsam80 <[email protected]> | 2016-12-07 21:20:15 -0700 |
| commit | bf39bb3ac3d2aef4687b3cd4762015d5f218e2bc (patch) | |
| tree | 968d25a858633f88255e3cc6c923f07a7c44d36c /js/src/alert.js | |
| parent | ede925d79bf92d5983a4508c6ed6fda9310e1e8b (diff) | |
| download | bootstrap-bf39bb3ac3d2aef4687b3cd4762015d5f218e2bc.tar.xz bootstrap-bf39bb3ac3d2aef4687b3cd4762015d5f218e2bc.zip | |
Rename `.active` to `.show`
Diffstat (limited to 'js/src/alert.js')
| -rw-r--r-- | js/src/alert.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/alert.js b/js/src/alert.js index 8e5524950..884a5dec8 100644 --- a/js/src/alert.js +++ b/js/src/alert.js @@ -36,9 +36,9 @@ const Alert = (($) => { } const ClassName = { - ALERT : 'alert', - FADE : 'fade', - ACTIVE : 'active' + ALERT : 'alert', + FADE : 'fade', + SHOW : 'show' } @@ -108,7 +108,7 @@ const Alert = (($) => { } _removeElement(element) { - $(element).removeClass(ClassName.ACTIVE) + $(element).removeClass(ClassName.SHOW) if (!Util.supportsTransitionEnd() || !$(element).hasClass(ClassName.FADE)) { |
