mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 21:17:20 +03:00
Made sure no skips are scheduled while paused
This commit is contained in:
@@ -452,6 +452,7 @@ function cancelSponsorSchedule(): void {
|
||||
*/
|
||||
function startSponsorSchedule(currentTime?: number): void {
|
||||
cancelSponsorSchedule();
|
||||
if (video.paused) return;
|
||||
|
||||
if (Config.config.disableSkipping || channelWhitelisted){
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user