aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/utils/animation.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/utils/animation.js')
-rw-r--r--src/js/utils/animation.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/js/utils/animation.js b/src/js/utils/animation.js
index 49bc0b8c..6b950b61 100644
--- a/src/js/utils/animation.js
+++ b/src/js/utils/animation.js
@@ -15,9 +15,7 @@ export const transitionEndEvent = (() => {
transition: 'transitionend',
};
- const type = Object.keys(events).find(
- event => element.style[event] !== undefined,
- );
+ const type = Object.keys(events).find(event => element.style[event] !== undefined);
return is.string(type) ? events[type] : false;
})();