From 8b8fa66212a8dbd9150d01f154b5eeb8fd1f29c4 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 19 Feb 2013 13:26:34 +0000 Subject: [PATCH] only update if we have a video --- static/js/pandora/info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/info.js b/static/js/pandora/info.js index 5e5a7de0..f7fb7fba 100644 --- a/static/js/pandora/info.js +++ b/static/js/pandora/info.js @@ -159,7 +159,7 @@ pandora.ui.info = function() { } else if (view == 'poster') { pandora.$ui.posterInfo.resizeInfo(); } else if (view == 'video') { - pandora.$ui.videoPreview.options({ + pandora.$ui.videoPreview && pandora.$ui.videoPreview.options({ height: pandora.getInfoHeight(true), width: ui.sidebarSize });