From b3056132f5a562c905765576cda8e3a975dce017 Mon Sep 17 00:00:00 2001 From: Fredrik Erlandsson Date: Mon, 14 Nov 2011 15:57:45 +0100 Subject: [PATCH] fix for pageheight, with paginator --- js/pear.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/pear.js b/js/pear.js index 8a2379b4..25cf881a 100644 --- a/js/pear.js +++ b/js/pear.js @@ -82,9 +82,9 @@ function mosaicResize() { $('#img_detail').css({'height': iHeight + "px", 'width': iWidth + "px"}); } myWidth = myWidth - 7; - myHeight = myHeight - $('#g-site-status').outerHeight(true); + myHeight = myHeight - $('#g-site-status').outerHeight(true) - $('#paginator').outerHeight(true); $('#pearFlowPadd').css({'height': myHeight - 90 - (Math.round(myWidth / 2.4)) + 'px'}); - if ($('#paginator').length !== 0) { myHeight -= 165; } else { myHeight -= 138; } + myHeight -= 138; $('#g-header').css('top', $('#gsNavBar').outerHeight(true) + $('#g-site-status').outerHeight(true) - 4); if ($('#g-movie').length) {