mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
This commit is contained in:
parent
04d0e5e5ba
commit
6c524a49f1
1 changed files with 2 additions and 2 deletions
|
@ -431,11 +431,11 @@ function addView(videos_id, currentTime) {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (videoViewAdded) {
|
||||
if (videoViewAdded && videoViewAdded==videos_id) {
|
||||
return false;
|
||||
}
|
||||
|
||||
videoViewAdded = true;
|
||||
videoViewAdded = videos_id;
|
||||
|
||||
last_videos_id = videos_id;
|
||||
last_currentTime = currentTime;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue