From 51038b7c593b3c89adcd7d294c80d6e372586db7 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 8 Jul 2023 14:08:53 +0530 Subject: [PATCH] update outdated code --- static/js/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index e3fcc777..ae2ff3cf 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -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')