CC-3174 : showbuilder

fixing some merge stuff.
This commit is contained in:
Naomi Aro 2012-03-13 12:52:41 +01:00
parent 6f270bfb3d
commit 6830af574a
4 changed files with 18 additions and 20 deletions

View file

@ -702,5 +702,19 @@ var AIRTIME = (function(AIRTIME){
$(document).ready(function() {
AIRTIME.playlist.init();
var viewport = AIRTIME.utilities.findViewportDimensions(),
lib = $("#library_content"),
pl = $("#side_playlist"),
widgetHeight = viewport.height - 185,
width = Math.floor(viewport.width - 110);
lib.height(widgetHeight)
.width(Math.floor(width * 0.55));
pl.height(widgetHeight)
.width(Math.floor(width * 0.45));
AIRTIME.library.libraryInit();
AIRTIME.playlist.init();
});