mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-30 02:44:44 +00:00
adjusted the fallback heights. addresses the ios5 fixed footer alignment described in issue #2415
This commit is contained in:
parent
e794ad0f11
commit
52e1022697
1 changed files with 1 additions and 1 deletions
|
|
@ -567,7 +567,7 @@
|
|||
function getScreenHeight(){
|
||||
var orientation = jQuery.event.special.orientationchange.orientation(),
|
||||
port = orientation === "portrait",
|
||||
winMin = port ? 480 : 320,
|
||||
winMin = port ? 420 : 270,
|
||||
screenHeight = port ? screen.availHeight : screen.availWidth,
|
||||
winHeight = Math.max( winMin, $( window ).height() ),
|
||||
pageMin = Math.min( screenHeight, winHeight );
|
||||
|
|
|
|||
Loading…
Reference in a new issue