2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Move from $.proxy to es6 arrow functions. (#21049)

This commit is contained in:
Bardi Harborow
2016-11-01 14:32:36 +11:00
committed by Mark Otto
parent d6cc0e017d
commit 0974267b8c
6 changed files with 14 additions and 18 deletions
+1 -1
View File
@@ -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)
}