diff --git a/js/jquery.mobile.support.js b/js/jquery.mobile.support.js index 1b2fc729..ac095809 100644 --- a/js/jquery.mobile.support.js +++ b/js/jquery.mobile.support.js @@ -70,7 +70,7 @@ $.extend( $.support, { pushState: "pushState" in history && "replaceState" in history, mediaquery: $.mobile.media( "only all" ), cssPseudoElement: !!propExists( "content" ), - overflowScrollingTouch: !!propExists( "overflowScrolling" ), + touchOverflow: !!propExists( "overflowScrolling" ), boxShadow: !!propExists( "boxShadow" ) && !bb, scrollTop: ( "pageXOffset" in window || "scrollTop" in document.documentElement || "scrollTop" in fakeBody[ 0 ] ) && !webos, dynamicBaseTag: baseTagTest(), @@ -119,8 +119,8 @@ if ( !$.support.boxShadow ) { } // For opting into touch overflow scrolling -if( $.support.overflowScrollingTouch ){ - $( "html" ).addClass( "ui-mobile-overflow-scrolling" ); +if( $.support.touchOverflow ){ + $( "html" ).addClass( "ui-mobile-touch-overflow" ); } })( jQuery ); \ No newline at end of file diff --git a/themes/default/jquery.mobile.core.css b/themes/default/jquery.mobile.core.css index f356eee3..47521b1d 100644 --- a/themes/default/jquery.mobile.core.css +++ b/themes/default/jquery.mobile.core.css @@ -23,7 +23,7 @@ .landscape .ui-page { min-height: 300px; } /* native overflow scrolling */ -.ui-mobile.ui-mobile-overflow-scrolling .ui-page { +.ui-mobile.ui-mobile-touch-overflow .ui-page { overflow: auto; height: 100%; -webkit-overflow-scrolling: touch;