mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-05-11 18:36:15 +02:00
Fix server-side add detector when setting time at the end of the video
This commit is contained in:
parent
b05d696057
commit
244cce56c0
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Subproject commit d47ec4cca4480795fc524269d703c0d36aaeb402
|
||||
Subproject commit b22477a8640b407910b24d5bec13d0d6d4d3cf01
|
|
@ -2008,7 +2008,7 @@ function startOrEndTimingNewSegment() {
|
|||
return;
|
||||
}
|
||||
|
||||
verifyCurrentTime();
|
||||
verifyCurrentTime(getRealCurrentTime());
|
||||
const roundedTime = Math.round((getRealCurrentTime() + Number.EPSILON) * 1000) / 1000;
|
||||
if (!isSegmentCreationInProgress()) {
|
||||
sponsorTimesSubmitting.push({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue