update outdated code
This commit is contained in:
parent
adaeb16c69
commit
51038b7c59
1 changed files with 2 additions and 1 deletions
|
@ -2476,6 +2476,7 @@ pandora.getVideoOptions = function(data) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
data.videoRatio = data.videoRatio || pandora.site.video.previewRatio;
|
data.videoRatio = data.videoRatio || pandora.site.video.previewRatio;
|
||||||
|
|
||||||
return options;
|
return options;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3212,7 +3213,7 @@ pandora.unloadWindow = function() {
|
||||||
&& pandora.user.ui.item
|
&& pandora.user.ui.item
|
||||||
&& ['video', 'timeline'].indexOf(pandora.user.ui.itemView) > -1
|
&& ['video', 'timeline'].indexOf(pandora.user.ui.itemView) > -1
|
||||||
&& pandora.UI.set(
|
&& pandora.UI.set(
|
||||||
'videoPosition.' + pandora.user.ui.item,
|
'videoPoints.' + pandora.user.ui.item,
|
||||||
pandora.$ui[
|
pandora.$ui[
|
||||||
pandora.user.ui.itemView == 'video' ? 'player' : 'editor'
|
pandora.user.ui.itemView == 'video' ? 'player' : 'editor'
|
||||||
].options('position')
|
].options('position')
|
||||||
|
|
Loading…
Reference in a new issue