diff --git a/js/jquery.mobile.js b/js/jquery.mobile.js index 66915f7d..12664f69 100644 --- a/js/jquery.mobile.js +++ b/js/jquery.mobile.js @@ -221,7 +221,7 @@ } activeClickedLink = null; } - + //for getting or creating a new page function changePage( to, transition, back, changeHash){ @@ -546,6 +546,8 @@ $html.addClass( jQuery.event.special.orientationchange.orientation( $window ) ); }); - $window.load(hideBrowserChrome); + $window + .load(hideBrowserChrome) + .unload(removeActiveLinkClass); })( jQuery, this );