mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Wrong OR operator to compare values
This commit is contained in:
parent
1d5f2af293
commit
4f354bafbc
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
|||
function ResizePageContentHeight(page) {
|
||||
var $page = $(page),
|
||||
$content = $page.children( ".ui-content" ),
|
||||
hh = $page.children( ".ui-header" ).outerHeight() : 0,
|
||||
fh = $page.children( ".ui-footer" ).outerHeight() : 0,
|
||||
hh = $page.children( ".ui-header" ).outerHeight() || 0,
|
||||
fh = $page.children( ".ui-footer" ).outerHeight() || 0,
|
||||
pt = parseFloat($content.css( "padding-top" )),
|
||||
pb = parseFloat($content.css( "padding-bottom" )),
|
||||
wh = window.innerHeight;
|
||||
|
|
|
|||
Loading…
Reference in a new issue