How to detect via js if any sort of transition is being applied to the element right now?
Short story of my problem:
I have a situation where I'm firing a function on the transitionend event, but sometimes the element just don't have any transition being applied (because in firefox, for example, the user has clicked some element rapidly which makes the transition goes crazy and stop working) so I want to know when it doesn't work and just fire the function myself, skipping the transitionend. I am trying to avoid ugly solutions..