mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-22 15:14:44 +00:00
better check for supporting fallback
This commit is contained in:
parent
75d0d95bea
commit
8d0c2402ca
1 changed files with 2 additions and 2 deletions
|
|
@ -7,8 +7,8 @@
|
|||
function outInTransitionHandler( name, reverse, $to, $from ) {
|
||||
|
||||
// override name if there's no 3D transform support and a fallback is defined, or if not, to "none"
|
||||
if( name && !$.support.cssTransform3d ){
|
||||
name = $.mobile.transitionFallbacks[ name ] || "none";
|
||||
if( name && !$.support.cssTransform3d && $.mobile.transitionFallbacks[ name ] ){
|
||||
name = $.mobile.transitionFallbacks[ name ];
|
||||
}
|
||||
|
||||
var deferred = new $.Deferred(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue