mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
Move from $.proxy to es6 arrow functions. (#21049)
This commit is contained in:
committed by
Mark Otto
parent
d6cc0e017d
commit
0974267b8c
+1
-3
@@ -156,9 +156,7 @@ const Tab = (($) => {
|
||||
&& ((active && $(active).hasClass(ClassName.FADE))
|
||||
|| Boolean($(container).find(Selector.FADE_CHILD)[0]))
|
||||
|
||||
let complete = $.proxy(
|
||||
this._transitionComplete,
|
||||
this,
|
||||
let complete = () => this._transitionComplete(
|
||||
element,
|
||||
active,
|
||||
isTransitioning,
|
||||
|
||||
Reference in New Issue
Block a user