aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/Player.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Player.hx b/src/client/Player.hx
index 496c355..a147e6a 100644
--- a/src/client/Player.hx
+++ b/src/client/Player.hx
@@ -329,11 +329,11 @@ class Player {
final currentUrl = videoList.pos >= videoList.length ? "" : videoList.getCurrentItem()
.url;
clearItems();
- if (pos != null) videoList.setPos(pos);
if (list.length == 0) return;
for (video in list) {
addVideoItem(video, true);
}
+ if (pos != null) videoList.setPos(pos);
if (currentUrl != videoList.getCurrentItem().url) setVideo(videoList.pos);
else addActiveLabel(videoList.pos);
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage