aboutsummaryrefslogtreecommitdiff
path: root/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2015-08-18 17:01:56 -0700
committerJacob Thornton <[email protected]>2015-08-18 17:01:56 -0700
commit19e43b62ed078bf725ec4dd4b8f8a4e4a24616a3 (patch)
treea61cf5903519892e7af47ce0e2dda7925db8ec54 /dist/js/bootstrap.js
parent409ede0a35b9147f4f57013f898aacdfbb3a2adc (diff)
downloadbootstrap-19e43b62ed078bf725ec4dd4b8f8a4e4a24616a3.tar.xz
bootstrap-19e43b62ed078bf725ec4dd4b8f8a4e4a24616a3.zip
use proxy not bind in alert
Diffstat (limited to 'dist/js/bootstrap.js')
-rw-r--r--dist/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js
index c5cf3fd6d..9be1d7515 100644
--- a/dist/js/bootstrap.js
+++ b/dist/js/bootstrap.js
@@ -296,7 +296,7 @@ var Alert = (function ($) {
return;
}
- $(element).one(Util.TRANSITION_END, this._destroyElement.bind(this, element)).emulateTransitionEnd(TRANSITION_DURATION);
+ $(element).one(Util.TRANSITION_END, $.proxy(this._destroyElement, this, element)).emulateTransitionEnd(TRANSITION_DURATION);
}
}, {
key: '_destroyElement',