File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ $.extend( $.support, {
70
70
pushState : "pushState" in history && "replaceState" in history ,
71
71
mediaquery : $ . mobile . media ( "only all" ) ,
72
72
cssPseudoElement : ! ! propExists ( "content" ) ,
73
+ overflowScrollingTouch : ! ! propExists ( "overflowScrolling" ) ,
73
74
boxShadow : ! ! propExists ( "boxShadow" ) && ! bb ,
74
75
scrollTop : ( "pageXOffset" in window || "scrollTop" in document . documentElement || "scrollTop" in fakeBody [ 0 ] ) && ! webos ,
75
76
dynamicBaseTag : baseTagTest ( ) ,
@@ -117,4 +118,9 @@ if ( !$.support.boxShadow ) {
117
118
$ ( "html" ) . addClass ( "ui-mobile-nosupport-boxshadow" ) ;
118
119
}
119
120
120
- } ) ( jQuery ) ;
121
+ // For opting into touch overflow scrolling
122
+ if ( $ . support . overflowScrollingTouch ) {
123
+ $ ( "html" ) . addClass ( "ui-mobile-overflow-scrolling" ) ;
124
+ }
125
+
126
+ } ) ( jQuery ) ;
You can’t perform that action at this time.
0 commit comments