🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-19 14:32:28 | PHP 8.1.34
📂
/ (Root)
/
home
/
therahul
/
thedasstores.com
/
wp-content
/
plugins
/
blocksy-companion
/
static
/
js
/
helpers
📍 /home/therahul/thedasstores.com/wp-content/plugins/blocksy-companion/static/js/helpers
🔄 Refresh
✏️
Editing: when-transition-ends.js
Writable
export function whenTransitionEnds(el, cb) { const end = () => { el.removeEventListener('transitionend', onEnd) cb() } const onEnd = (e) => { // Very important check. // // Sometimes transitionend event is propagated from children to parent // and the children transition might be shorter than the parent's one // and thus the parent's transitionend event is triggered too early. if (e.target === el) { end() } } el.addEventListener('transitionend', onEnd) }
💾 Save Changes
❌ Cancel