aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-05-20 14:58:29 +0300
committerRblSb <msrblsb@gmail.com>2020-05-20 14:58:29 +0300
commit8c995a8e206950d7dbb2c2eced641f70b38e44f8 (patch)
treec00e76869cf715ab0eb0f92dc4bbd1de714c1ee8 /res
parent97bad11001aeb299e0e8c339af77368e065d215d (diff)
Fix short video restart at the end
Diffstat (limited to 'res')
-rw-r--r--res/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/client.js b/res/client.js
index 0ab736c..1c8691d 100644
--- a/res/client.js
+++ b/res/client.js
@@ -1157,7 +1157,7 @@ client_Main.prototype = {
if(this.player.isVideoLoaded()) {
this.forceSyncNextTick = false;
}
- if(this.player.getDuration() < this.player.getTime()) {
+ if(this.player.getDuration() <= this.player.getTime()) {
return;
}
if(!data.getTime.paused) {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage