mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-09-20 04:53:43 +02:00
Made sure no skips are scheduled while paused
This commit is contained in:
parent
5f879bceab
commit
0467dd5d21
1 changed files with 1 additions and 0 deletions
|
@ -452,6 +452,7 @@ function cancelSponsorSchedule(): void {
|
|||
*/
|
||||
function startSponsorSchedule(currentTime?: number): void {
|
||||
cancelSponsorSchedule();
|
||||
if (video.paused) return;
|
||||
|
||||
if (Config.config.disableSkipping || channelWhitelisted){
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue