aboutsummaryrefslogtreecommitdiffstats
path: root/res/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'res/client.js')
-rw-r--r--res/client.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/client.js b/res/client.js
index 8e36477..529ff48 100644
--- a/res/client.js
+++ b/res/client.js
@@ -2363,14 +2363,14 @@ client_Player.prototype = {
currentUrl = _this.items[_this.pos].url;
}
this.clearItems();
- if(pos != null) {
- this.videoList.setPos(pos);
- }
if(list.length == 0) {
return;
}
var _g = 0;
while(_g < list.length) this.addVideoItem(list[_g++],true);
+ if(pos != null) {
+ this.videoList.setPos(pos);
+ }
var _this = this.videoList;
if(currentUrl != _this.items[_this.pos].url) {
this.setVideo(this.videoList.pos);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage