mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-27 05:49:07 +02:00
Move from $.proxy to es6 arrow functions. (#21049)
This commit is contained in:
committed by
Mark Otto
parent
d6cc0e017d
commit
0974267b8c
@@ -117,7 +117,7 @@ const Alert = (($) => {
|
||||
}
|
||||
|
||||
$(element)
|
||||
.one(Util.TRANSITION_END, $.proxy(this._destroyElement, this, element))
|
||||
.one(Util.TRANSITION_END, (event) => this._destroyElement(element, event))
|
||||
.emulateTransitionEnd(TRANSITION_DURATION)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user