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

@@ -67,12 +67,10 @@ jobs:
uses: Shopify/upload-to-release@master
with:
args: builds/ChromeExtension.zip
env:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload to release
uses: Shopify/upload-to-release@master
with:
args: builds/FirefoxExtension.zip
env:
repo-token: ${{ secrets.GITHUB_TOKEN }}

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;