From 0467dd5d2163df13eec0dd53da41af7b953f2511 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Wed, 11 Mar 2020 19:39:08 -0400 Subject: [PATCH] Made sure no skips are scheduled while paused --- src/content.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content.ts b/src/content.ts index 218a5401..dd1e6e47 100644 --- a/src/content.ts +++ b/src/content.ts @@ -452,6 +452,7 @@ function cancelSponsorSchedule(): void { */ function startSponsorSchedule(currentTime?: number): void { cancelSponsorSchedule(); + if (video.paused) return; if (Config.config.disableSkipping || channelWhitelisted){ return;