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 /dist/js/bootstrap.js | |
| parent | 409ede0a35b9147f4f57013f898aacdfbb3a2adc (diff) | |
| download | bootstrap-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.js | 2 |
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', |
