mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 05:57:07 +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 {
|
function startSponsorSchedule(currentTime?: number): void {
|
||||||
cancelSponsorSchedule();
|
cancelSponsorSchedule();
|
||||||
|
if (video.paused) return;
|
||||||
|
|
||||||
if (Config.config.disableSkipping || channelWhitelisted){
|
if (Config.config.disableSkipping || channelWhitelisted){
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user