adjusted the fallback heights. addresses the ios5 fixed footer alignment described in issue #2415

This commit is contained in:
scottjehl 2011-09-24 00:33:44 -04:00
parent e794ad0f11
commit 52e1022697

View file

@ -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 );