From f49e69ef84667d86ff4935fecd83a5d5aacf3f9d Mon Sep 17 00:00:00 2001 From: scottjehl Date: Thu, 8 Sep 2011 13:26:33 -0400 Subject: [PATCH] disabled iOS5 improvements by default. Can be enabled by binding to mobileinit and setting $.mobile.touchOverflowEnabled = true; --- js/jquery.mobile.fixHeaderFooter.native.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/jquery.mobile.fixHeaderFooter.native.js b/js/jquery.mobile.fixHeaderFooter.native.js index b7740d9d..382a7bcf 100644 --- a/js/jquery.mobile.fixHeaderFooter.native.js +++ b/js/jquery.mobile.fixHeaderFooter.native.js @@ -7,7 +7,7 @@ (function( $, undefined ) { -$.mobile.touchOverflowEnabled = true; +$.mobile.touchOverflowEnabled = false; $( document ).bind( "pagecreate", function( event ) { if( $.support.touchOverflow && $.mobile.touchOverflowEnabled ){ @@ -48,7 +48,7 @@ $( document ).bind( "pagecreate", function( event ) { .animationComplete(function(){ $(this).not( ".in" ).addClass( "ui-native-bars-hidden" ); }); - } ); + }); } } });