Browse files

Panel: Fixed wrong transition support test in open().

  • Loading branch information...
1 parent 7d7b830 commit 0aa3617036e700193012f0f6c556dc45bfb0bd33 @jaspermdegroot jaspermdegroot committed Jan 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/panel.js
View
2 js/widgets/panel.js
@@ -223,7 +223,7 @@ $.widget( "mobile.panel", $.mobile.widget, {
}
self._trigger( "beforeopen" );
- if ( !immediate && $.support.cssTransitions && o.animate ) {
+ if ( !immediate && $.support.cssTransform3d && o.animate ) {
self.element.add( self._wrapper ).on( self._transitionEndEvents , complete );
} else{
setTimeout( complete , 0 );

0 comments on commit 0aa3617

Please sign in to comment.