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:
parent
9113853e41
commit
49dc3140a8
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue