forked from 0x2620/pandora
only update if we have a video
This commit is contained in:
parent
f14891e0ae
commit
8b8fa66212
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue