From 6e2f1cd64fbc16e32395e88df5b0ea5da2af5da0 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Tue, 10 Jan 2012 14:06:24 +0700 Subject: [PATCH] moved the hide loader call back to nav again --- js/jquery.mobile.navigation.js | 3 +++ js/jquery.mobile.transition.js | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) 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