Permalink
Browse files

Component: silentScroll call changed to once instead of twice

  • Loading branch information...
Sonali-Goyal authored and arschmitz committed Mar 8, 2016
1 parent e40de81 commit 7984db3e1173f4b8a46f5f15068521d0144ddc49
Showing with 0 additions and 6 deletions.
  1. +0 −6 js/init.js
View
@@ -170,12 +170,6 @@ $( function() {
$.mobile.initializePage();
}
// window load event
// hide iOS browser chrome on load if hideUrlBar is true this is as fall back incase we were too early before
if ( $.mobile.hideUrlBar ) {
$window.on( "load", $.mobile.silentScroll );
}
if ( !$.support.cssPointerEvents ) {
// IE and Opera don't support CSS pointer-events: none that we use to disable link-based buttons
// by adding the 'ui-disabled' class to them. Using a JavaScript workaround for those browser.

0 comments on commit 7984db3

Please sign in to comment.