diff options
author | Starsam80 <samraskauskas@gmail.com> | 2016-10-28 01:50:23 +0300 |
---|---|---|
committer | Starsam80 <samraskauskas@gmail.com> | 2016-12-08 07:20:18 +0300 |
commit | d991c868a4b9b598a622f739547f71ee0ea7a352 (patch) | |
tree | 2d0e8e072d37f9dca1f7fa379a54e8ec8a6a6381 /js/src/tab.js | |
parent | bf39bb3ac3d2aef4687b3cd4762015d5f218e2bc (diff) |
Fix tabs by using new classes
Diffstat (limited to 'js/src/tab.js')
-rw-r--r-- | js/src/tab.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/tab.js b/js/src/tab.js index e7e8f550f0..c7e5fbfbe9 100644 --- a/js/src/tab.js +++ b/js/src/tab.js @@ -37,7 +37,7 @@ const Tab = (($) => { DROPDOWN_MENU : 'dropdown-menu', ACTIVE : 'active', FADE : 'fade', - IN : 'in' + SHOW : 'show' } const Selector = { @@ -173,7 +173,7 @@ const Tab = (($) => { } if (active) { - $(active).removeClass(ClassName.IN) + $(active).removeClass(ClassName.SHOW) } } @@ -197,7 +197,7 @@ const Tab = (($) => { if (isTransitioning) { Util.reflow(element) - $(element).addClass(ClassName.IN) + $(element).addClass(ClassName.SHOW) } else { $(element).removeClass(ClassName.FADE) } |