From de133158d621c68e84f8cf6e3c9508ba3dee217a Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 15 Feb 2012 19:56:21 +0000 Subject: [PATCH] fix a bug where the calendar background in item view would be 16px too short --- static/js/pandora/navigationView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/navigationView.js b/static/js/pandora/navigationView.js index 2d6f3348..d55741a8 100644 --- a/static/js/pandora/navigationView.js +++ b/static/js/pandora/navigationView.js @@ -164,7 +164,8 @@ pandora.ui.navigationView = function(type, videoRatio) { date: new Date(0), events: result.data.items, // 20 px menu, 24 px toolbar, 1px resizbar, 16px statusbar - height: window.innerHeight - ui.showFilters * ui.filtersSize - 61, + height: window.innerHeight - ui.showFilters * ui.filtersSize + - 45 - (ui.item ? 0 : 16), range: [-5000, 5000], showControls: ui.showCalendarControls, showToolbar: true,