mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-28 15:38:17 +00:00
add class for 3d transform support
This commit is contained in:
parent
0cafec13bd
commit
965f7e2681
1 changed files with 5 additions and 0 deletions
|
|
@ -87,4 +87,9 @@ if ( $.mobile.defaultTransitionHandler === $.mobile.noneTransitionHandler ) {
|
|||
$.mobile.defaultTransitionHandler = outInTransitionHandler;
|
||||
}
|
||||
|
||||
// add class for where 3d transforms are supported, or not
|
||||
if( $.support.cssTransform3d ){
|
||||
$( "html" ).addClass( $.support.cssTransform3d ? "ui-supported-cssTransform3d" : "ui-unsupported-cssTransform3d" );
|
||||
}
|
||||
|
||||
})( jQuery, this );
|
||||
|
|
|
|||
Loading…
Reference in a new issue