Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Extends the jQuery.support object to CSS3 transition
// jQuery.support.transition
// to verify that CSS3 transition is supported (or any of its browser-specific implementations)
$.support.transition = (function(){
var thisBody = document.body || document.documentElement,
thisStyle = thisBody.style,
support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined;
return support;
})();
@msshohan
Copy link

msshohan commented Oct 7, 2019

Not sure if that’s the case. I tried to change the version to 1.9 and the latest version from 1.12 but it didn't help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment