jQuery UI switchClass() method doesn’t switch class, rather it performs some undesired animations and the class remains the same as the original one when I use jquery.animate-enhanced.js for hardware accelerated animations.
Any Idea about how can I fix it?
jQuery UI switchClass() method doesn’t switch class, rather it performs some undesired animations and
Share
I have encountered this problem before and wasted many hours trying to figure out what was going wrong.
I still don’t know why switchClass sometimes doesn’t work, but I do have a workaround:
Replace
with
Hope that helps.