Merge branch 'experimental' of https://github.com/ajayyy/SponsorBlock into react

This commit is contained in:
Ajay Ramachandran
2020-03-11 19:40:42 -04:00
2 changed files with 1 additions and 2 deletions

View File

@@ -463,6 +463,7 @@ function cancelSponsorSchedule(): void {
*/
function startSponsorSchedule(currentTime?: number): void {
cancelSponsorSchedule();
if (video.paused) return;
if (Config.config.disableSkipping || channelWhitelisted){
return;