diff options
| author | XhmikosR <[email protected]> | 2020-12-02 06:45:15 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-02 06:45:15 +0200 |
| commit | 701c6c6e77950ca2df6e4e89bdea8732983c1cdd (patch) | |
| tree | d7f162d0eb4096ec4313d4f7beefc2cc39325cc3 /js/src/util | |
| parent | f05d64225da06a4f1a3494fa8bd0fe44046b0e8a (diff) | |
| download | bootstrap-701c6c6e77950ca2df6e4e89bdea8732983c1cdd.tar.xz bootstrap-701c6c6e77950ca2df6e4e89bdea8732983c1cdd.zip | |
Unbreak lines. (#32304)
Diffstat (limited to 'js/src/util')
| -rw-r--r-- | js/src/util/index.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/js/src/util/index.js b/js/src/util/index.js index c7cb3176a..874827b16 100644 --- a/js/src/util/index.js +++ b/js/src/util/index.js @@ -66,10 +66,7 @@ const getTransitionDurationFromElement = element => { } // Get transition-duration of the element - let { - transitionDuration, - transitionDelay - } = window.getComputedStyle(element) + let { transitionDuration, transitionDelay } = window.getComputedStyle(element) const floatTransitionDuration = Number.parseFloat(transitionDuration) const floatTransitionDelay = Number.parseFloat(transitionDelay) @@ -96,6 +93,7 @@ const emulateTransitionEnd = (element, duration) => { let called = false const durationPadding = 5 const emulatedDuration = duration + durationPadding + function listener() { called = true element.removeEventListener(TRANSITION_END, listener) |
