aboutsummaryrefslogtreecommitdiff
path: root/js/tab.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tab.js')
-rw-r--r--js/tab.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/tab.js b/js/tab.js
index 573b369a7..d7023c817 100644
--- a/js/tab.js
+++ b/js/tab.js
@@ -19,6 +19,8 @@
Tab.VERSION = '3.2.0'
+ Tab.TRANSITION_DURATION = 150
+
Tab.prototype.show = function () {
var $this = this.element
var $ul = $this.closest('ul:not(.dropdown-menu)')
@@ -82,7 +84,7 @@
$active.length && transition ?
$active
.one('bsTransitionEnd', next)
- .emulateTransitionEnd(150) :
+ .emulateTransitionEnd(Tab.TRANSITION_DURATION) :
next()
$active.removeClass('in')