Skip to content

Commit 6c524a4

Browse files
https://github.com/WWBN/AVideo/issues/5503
1 parent 04d0e5e commit 6c524a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

view/js/script.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -431,11 +431,11 @@ function addView(videos_id, currentTime) {
431431
return false;
432432
}
433433

434-
if (videoViewAdded) {
434+
if (videoViewAdded && videoViewAdded==videos_id) {
435435
return false;
436436
}
437437

438-
videoViewAdded = true;
438+
videoViewAdded = videos_id;
439439

440440
last_videos_id = videos_id;
441441
last_currentTime = currentTime;

0 commit comments

Comments
 (0)