mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-07 14:16:47 +02:00
use proxy not bind in alert
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user