mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 14:07:13 +03:00
Fix server-side add detector when setting time at the end of the video
This commit is contained in:
Submodule maze-utils updated: d47ec4cca4...b22477a864
@@ -2008,7 +2008,7 @@ function startOrEndTimingNewSegment() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
verifyCurrentTime();
|
verifyCurrentTime(getRealCurrentTime());
|
||||||
const roundedTime = Math.round((getRealCurrentTime() + Number.EPSILON) * 1000) / 1000;
|
const roundedTime = Math.round((getRealCurrentTime() + Number.EPSILON) * 1000) / 1000;
|
||||||
if (!isSegmentCreationInProgress()) {
|
if (!isSegmentCreationInProgress()) {
|
||||||
sponsorTimesSubmitting.push({
|
sponsorTimesSubmitting.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user