File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 567567 function getScreenHeight ( ) {
568568 var orientation = jQuery . event . special . orientationchange . orientation ( ) ,
569569 port = orientation === "portrait" ,
570- winMin = port ? 420 : 270 ,
570+ winMin = port ? 480 : 320 ,
571571 screenHeight = port ? screen . availHeight : screen . availWidth ,
572572 winHeight = Math . max ( winMin , $ ( window ) . height ( ) ) ,
573573 pageMin = Math . min ( screenHeight , winHeight ) ;
579579
580580 //simply set the active page's minimum height to screen height, depending on orientation
581581 function resetActivePageHeight ( ) {
582+ // Don't apply this height in touch overflow enabled mode
583+ if ( $ . support . touchOverflow && $ . mobile . touchOverflowEnabled ) {
584+ return ;
585+ }
582586 $ ( "." + $ . mobile . activePageClass ) . css ( "min-height" , getScreenHeight ( ) ) ;
583587 }
584588
You can’t perform that action at this time.
0 commit comments