diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 18dca9be..730e6ebb 100755 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -500,6 +500,9 @@ define( [ } toPage.data( "page" )._trigger( "beforeshow", null, { prevPage: fromPage || $( "" ) } ); + + //clear page loader + $.mobile.hidePageLoadingMsg(); //find the transition handler for the specified transition. If there //isn't one in our transitionHandlers dictionary, use the default one. diff --git a/js/jquery.mobile.transition.js b/js/jquery.mobile.transition.js index a2a8cb1a..45039698 100644 --- a/js/jquery.mobile.transition.js +++ b/js/jquery.mobile.transition.js @@ -73,10 +73,7 @@ function outInTransitionHandler( name, reverse, $to, $from ) { }; $to - .parent().addClass( viewportClass ); - - //clear page loader - $.mobile.hidePageLoadingMsg(); + .parent().addClass( viewportClass ); if ( $from && !none ) { $from