diff --git a/js/jquery.mobile.init.js b/js/jquery.mobile.init.js index 3934816d..4543a683 100644 --- a/js/jquery.mobile.init.js +++ b/js/jquery.mobile.init.js @@ -98,24 +98,6 @@ } } }); - - // This function injects a meta viewport tag to prevent scaling. Off by default, on by default when touchOverflow scrolling is enabled - function disableZoom() { - var cont = "user-scalable=no", - meta = $( "meta[name='viewport']" ); - - if( meta.length ){ - meta.attr( "content", meta.attr( "content" ) + ", " + cont ); - } - else{ - $( "head" ).prepend( "", { "name": "viewport", "content": cont } ); - } - } - - // if touch-overflow is enabled, disable user scaling, as it creates usability issues - if( $.support.touchOverflow && $.mobile.touchOverflowEnabled && !$.mobile.touchOverflowZoomEnabled ){ - disableZoom(); - } // initialize events now, after mobileinit has occurred $.mobile._registerInternalEvents();