Permalink
Browse files

Transistion: prevent scrolling when not hiding the url bar

  • Loading branch information...
arschmitz committed Jul 24, 2013
1 parent 411d79e commit 2c10db34eb95049f5db185cad0b3e13e0119c056
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/transitions/transition.js
@@ -80,7 +80,9 @@ define( [ "jquery",
// Just to be precautios, disable scrollstart listening like silentScroll would
$.event.special.scrollstart.enabled = false;
window.scrollTo( 0, this.toScroll );
if( $.mobile.hideUrlBar ) {
window.scrollTo( 0, this.toScroll );
}
// reenable scrollstart listening like silentScroll would
setTimeout( function() {

0 comments on commit 2c10db3

Please sign in to comment.