Some arguments need to be optional
This commit is contained in:
parent
b83be3de7d
commit
a699166368
@ -390,7 +390,7 @@ class Settings {
|
||||
return this.active.actions;
|
||||
}
|
||||
|
||||
getExtensionMode(site) {
|
||||
getExtensionMode(site?: string) {
|
||||
if (!site) {
|
||||
site = window.location.hostname;
|
||||
|
||||
|
@ -505,7 +505,7 @@ class PageInfo {
|
||||
}
|
||||
}
|
||||
|
||||
restoreAr(playingOnly) {
|
||||
restoreAr(playingOnly?: boolean) {
|
||||
if (playingOnly) {
|
||||
for(let vd of this.videos){
|
||||
if (vd.isPlaying()) {
|
||||
|
Loading…
Reference in New Issue
Block a user