mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 13:07:05 +03:00
Semicolon
This commit is contained in:
committed by
GitHub
parent
59f63f1b4b
commit
fea8f93b5a
@@ -989,7 +989,7 @@ function previewTime(time: number, unpause = true) {
|
|||||||
function sendTelemetryAndCount(skippingSegments: SponsorTime[], secondsSkipped: number, fullSkip: boolean) {
|
function sendTelemetryAndCount(skippingSegments: SponsorTime[], secondsSkipped: number, fullSkip: boolean) {
|
||||||
if (!Config.config.trackViewCount) return;
|
if (!Config.config.trackViewCount) return;
|
||||||
|
|
||||||
let counted = false
|
let counted = false;
|
||||||
for (const segment of skippingSegments) {
|
for (const segment of skippingSegments) {
|
||||||
const index = sponsorTimes.indexOf(segment);
|
const index = sponsorTimes.indexOf(segment);
|
||||||
if (index !== -1 && !sponsorSkipped[index]) {
|
if (index !== -1 && !sponsorSkipped[index]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user