CC-4962: Library -> Library and playlist editor have different heights sometimes

Fixed: needed to set height when we open the playlist editor
This commit is contained in:
denise 2013-02-19 11:59:17 -05:00
parent 9113853e41
commit 49dc3140a8
1 changed files with 4 additions and 0 deletions

View File

@ -366,8 +366,12 @@ var AIRTIME = (function(AIRTIME){
function openPlaylistPanel() {
var screenWidth = Math.floor(viewport.width - 40);
viewport = AIRTIME.utilities.findViewportDimensions();
widgetHeight = viewport.height - 185;
$lib.width(Math.floor(screenWidth * 0.53));
$pl.show().width(Math.floor(screenWidth * 0.44));
$pl.height(widgetHeight);
$("#pl_edit").hide();
}