aboutsummaryrefslogtreecommitdiff
path: root/js/src/tab.js
diff options
context:
space:
mode:
authorfat <[email protected]>2015-05-12 16:52:54 -0700
committerfat <[email protected]>2015-05-12 16:52:54 -0700
commitab1578465aee4a776412b48f16bfefca79381919 (patch)
tree0766caa82a67cd6328273aa5f2a826c579d44d32 /js/src/tab.js
parenta58febf71a5eac2161ce2db08c7d723755ed1163 (diff)
downloadbootstrap-ab1578465aee4a776412b48f16bfefca79381919.tar.xz
bootstrap-ab1578465aee4a776412b48f16bfefca79381919.zip
grunt test-js, grunt dist-js now working
Diffstat (limited to 'js/src/tab.js')
-rw-r--r--js/src/tab.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/js/src/tab.js b/js/src/tab.js
index 4668ff9e6..f6b174ce2 100644
--- a/js/src/tab.js
+++ b/js/src/tab.js
@@ -156,8 +156,14 @@ const Tab = (($) => {
&& ((active && $(active).hasClass(ClassName.FADE))
|| !!$(container).find(Selector.FADE_CHILD)[0])
- let complete = this._transitionComplete.bind(
- this, element, active, isTransitioning, callback)
+ let complete = $.proxy(
+ this._transitionComplete,
+ this,
+ element,
+ active,
+ isTransitioning,
+ callback
+ )
if (active && isTransitioning) {
$(active)