disabled iOS5 improvements by default. Can be enabled by binding to mobileinit and setting $.mobile.touchOverflowEnabled = true;

This commit is contained in:
scottjehl 2011-09-08 13:26:33 -04:00
parent b645781f4d
commit f49e69ef84

View file

@ -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" );
});
} );
});
}
}
});