@@ -14,9 +14,9 @@ function css3TransitionHandler( name, reverse, $to, $from )
1414 var deferred = new $ . Deferred ( ) ,
1515 reverseClass = reverse ? " reverse" : "" ,
1616 viewportClass = "ui-mobile-viewport-transitioning viewport-" + name ,
17- doneFunc = function ( ) {
17+ doneFunc = function ( ) {
1818 $to . add ( $from ) . removeClass ( "out in reverse " + name ) ;
19- if ( $from ) {
19+ if ( $from ) {
2020 $from . removeClass ( $ . mobile . activePageClass ) ;
2121 }
2222 $to . parent ( ) . removeClass ( viewportClass ) ;
@@ -27,7 +27,7 @@ function css3TransitionHandler( name, reverse, $to, $from )
2727 $to . animationComplete ( doneFunc ) ;
2828
2929 $to . parent ( ) . addClass ( viewportClass ) ;
30- if ( $from ) {
30+ if ( $from ) {
3131 $from . addClass ( name + " out" + reverseClass ) ;
3232 }
3333 $to . addClass ( $ . mobile . activePageClass + " " + name + " in" + reverseClass ) ;
@@ -39,7 +39,7 @@ function css3TransitionHandler( name, reverse, $to, $from )
3939$ . mobile . css3TransitionHandler = css3TransitionHandler ;
4040
4141// If the default transition handler is the 'none' handler, replace it with our handler.
42- if ( $ . mobile . defaultTransitionHandler === $ . mobile . noneTransitionHandler ) {
42+ if ( $ . mobile . defaultTransitionHandler === $ . mobile . noneTransitionHandler ) {
4343 $ . mobile . defaultTransitionHandler = css3TransitionHandler ;
4444}
4545
0 commit comments