diff options
author | Starsam80 <samraskauskas@gmail.com> | 2016-10-28 01:13:17 +0300 |
---|---|---|
committer | Starsam80 <samraskauskas@gmail.com> | 2016-12-08 07:20:15 +0300 |
commit | bf39bb3ac3d2aef4687b3cd4762015d5f218e2bc (patch) | |
tree | 968d25a858633f88255e3cc6c923f07a7c44d36c /js/src/alert.js | |
parent | ede925d79bf92d5983a4508c6ed6fda9310e1e8b (diff) |
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 8e55249501..884a5dec88 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)) { |