mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-01 03:14:43 +00:00
Fix for issue #2225
This commit is contained in:
parent
ac1832a686
commit
e897c66c6f
1 changed files with 1 additions and 1 deletions
|
|
@ -565,7 +565,7 @@
|
|||
|
||||
//simply set the active page's minimum height to screen height, depending on orientation
|
||||
function getScreenHeight(){
|
||||
var orientation = jQuery.event.special.orientationchange.orientation(),
|
||||
var orientation = $.event.special.orientationchange.orientation(),
|
||||
port = orientation === "portrait",
|
||||
winMin = port ? 480 : 320,
|
||||
screenHeight = port ? screen.availHeight : screen.availWidth,
|
||||
|
|
|
|||
Loading…
Reference in a new issue