diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index d3799ddf..f2567df6 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -458,8 +458,7 @@ //jump to top or prev scroll, sometimes on iOS the page has not rendered yet. I could only get by this with a setTimeout, but would like to avoid that. $.mobile.silentScroll( to.jqmData( "lastScroll" ) ); - - reFocus( to ); + $(document).one("silentscroll", function(){ reFocus( to ); }); //trigger show/hide events if( from ){