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:
authorJacob Thornton <jacobthornton@gmail.com>2015-08-19 03:01:56 +0300
committerJacob Thornton <jacobthornton@gmail.com>2015-08-19 03:01:56 +0300
commit19e43b62ed078bf725ec4dd4b8f8a4e4a24616a3 (patch)
treea61cf5903519892e7af47ce0e2dda7925db8ec54 /js/src/alert.js
parent409ede0a35b9147f4f57013f898aacdfbb3a2adc (diff)
use proxy not bind in alert
Diffstat (limited to 'js/src/alert.js')
-rw-r--r--js/src/alert.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/alert.js b/js/src/alert.js
index eda74d7064..e58a311757 100644
--- a/js/src/alert.js
+++ b/js/src/alert.js
@@ -116,7 +116,7 @@ const Alert = (($) => {
}
$(element)
- .one(Util.TRANSITION_END, this._destroyElement.bind(this, element))
+ .one(Util.TRANSITION_END, $.proxy(this._destroyElement, this, element))
.emulateTransitionEnd(TRANSITION_DURATION)
}