only update if we have a video

This commit is contained in:
j 2013-02-19 13:26:34 +00:00
parent f14891e0ae
commit 8b8fa66212

View file

@ -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
});