diff options
| author | Jacob Thornton <[email protected]> | 2015-08-18 17:01:56 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2015-08-18 17:01:56 -0700 |
| commit | 19e43b62ed078bf725ec4dd4b8f8a4e4a24616a3 (patch) | |
| tree | a61cf5903519892e7af47ce0e2dda7925db8ec54 /js/src | |
| parent | 409ede0a35b9147f4f57013f898aacdfbb3a2adc (diff) | |
| download | bootstrap-19e43b62ed078bf725ec4dd4b8f8a4e4a24616a3.tar.xz bootstrap-19e43b62ed078bf725ec4dd4b8f8a4e4a24616a3.zip | |
use proxy not bind in alert
Diffstat (limited to 'js/src')
| -rw-r--r-- | js/src/alert.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/alert.js b/js/src/alert.js index eda74d706..e58a31175 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) } |
