Permalink
Browse files

Fixes #4521 - Exclude Opera from support.cssTransitions as long as we…

… are not ready to support it.
  • Loading branch information...
1 parent fc72091 commit 29c654e6feb63bfbaf43ac6e7c07fe06132f0b9c @jaspermdegroot jaspermdegroot committed Jun 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.support.js
@@ -121,7 +121,7 @@ $.mobile.browser.ie = (function() {
$.extend( $.support, {
- cssTransitions: "WebKitTransitionEvent" in window || validStyle( 'transition', 'height 100ms linear' ),
+ cssTransitions: ( "WebKitTransitionEvent" in window || validStyle( 'transition', 'height 100ms linear' ) ) && !opera,
pushState: "pushState" in history && "replaceState" in history,
mediaquery: $.mobile.media( "only all" ),
cssPseudoElement: !!propExists( "content" ),

2 comments on commit 29c654e

So what's the plan here?

The reason this broke isn't transitions--it's that Opera now supports CSS Animations.

Member

jaspermdegroot replied Jun 27, 2012

This commit and f9b7139 and f4af360 (something went wrong with my git) are a temporary fix to make sure 1.1.1 works on Opera 12. The fix has to be removed as soon as we support transitions on Opera.

Please sign in to comment.