Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2016-11-01 07:14:23 +0300
committerMark Otto <markdotto@gmail.com>2016-11-01 07:14:23 +0300
commit76d53404b552c9870c3d3bf0e1f8976bb3136f13 (patch)
treefd1f0974c01b35b5bf5593d8a14dbf2b1fc91209 /js/dist/tab.js
parentf734814f6ba6c86673f771b073425ca6f7f72693 (diff)
grunt
Diffstat (limited to 'js/dist/tab.js')
-rw-r--r--js/dist/tab.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/dist/tab.js b/js/dist/tab.js
index d0c5e39a5d..a504cb32ed 100644
--- a/js/dist/tab.js
+++ b/js/dist/tab.js
@@ -139,10 +139,14 @@ var Tab = function ($) {
// private
Tab.prototype._activate = function _activate(element, container, callback) {
+ var _this2 = this;
+
var active = $(container).find(Selector.ACTIVE_CHILD)[0];
var isTransitioning = callback && Util.supportsTransitionEnd() && (active && $(active).hasClass(ClassName.FADE) || Boolean($(container).find(Selector.FADE_CHILD)[0]));
- var complete = $.proxy(this._transitionComplete, this, element, active, isTransitioning, callback);
+ var complete = function complete() {
+ return _this2._transitionComplete(element, active, isTransitioning, callback);
+ };
if (active && isTransitioning) {
$(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION);