1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-28 14:29:07 +02:00

Remove jQuery from Util.js

s
This commit is contained in:
Johann-S
2017-08-19 17:24:45 +02:00
committed by XhmikosR
parent ececf644f4
commit fb465c4745
18 changed files with 75 additions and 14 deletions

View File

@@ -195,8 +195,8 @@ class Collapse {
$(this._element)
.one(Util.TRANSITION_END, complete)
.emulateTransitionEnd(transitionDuration)
Util.emulateTransitionEnd(transitionDuration)
this._element.style[dimension] = `${this._element[scrollSize]}px`
}
@@ -254,7 +254,8 @@ class Collapse {
$(this._element)
.one(Util.TRANSITION_END, complete)
.emulateTransitionEnd(transitionDuration)
Util.emulateTransitionEnd(transitionDuration)
}
setTransitioning(isTransitioning) {