forked from 0x2620/pandora
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;
|
||||
|
||||
return options;
|
||||
};
|
||||
|
||||
|
@ -3212,7 +3213,7 @@ pandora.unloadWindow = function() {
|
|||
&& pandora.user.ui.item
|
||||
&& ['video', 'timeline'].indexOf(pandora.user.ui.itemView) > -1
|
||||
&& pandora.UI.set(
|
||||
'videoPosition.' + pandora.user.ui.item,
|
||||
'videoPoints.' + pandora.user.ui.item,
|
||||
pandora.$ui[
|
||||
pandora.user.ui.itemView == 'video' ? 'player' : 'editor'
|
||||
].options('position')
|
||||
|
|
Loading…
Reference in a new issue