diff --git a/src/ext/lib/Settings.ts b/src/ext/lib/Settings.ts index a4a1fe0..5ae064f 100644 --- a/src/ext/lib/Settings.ts +++ b/src/ext/lib/Settings.ts @@ -390,7 +390,7 @@ class Settings { return this.active.actions; } - getExtensionMode(site) { + getExtensionMode(site?: string) { if (!site) { site = window.location.hostname; diff --git a/src/ext/lib/video-data/PageInfo.ts b/src/ext/lib/video-data/PageInfo.ts index c8c3940..76bd02a 100644 --- a/src/ext/lib/video-data/PageInfo.ts +++ b/src/ext/lib/video-data/PageInfo.ts @@ -505,7 +505,7 @@ class PageInfo { } } - restoreAr(playingOnly) { + restoreAr(playingOnly?: boolean) { if (playingOnly) { for(let vd of this.videos){ if (vd.isPlaying()) {