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;
|
return this.active.actions;
|
||||||
}
|
}
|
||||||
|
|
||||||
getExtensionMode(site) {
|
getExtensionMode(site?: string) {
|
||||||
if (!site) {
|
if (!site) {
|
||||||
site = window.location.hostname;
|
site = window.location.hostname;
|
||||||
|
|
||||||
|
@ -505,7 +505,7 @@ class PageInfo {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
restoreAr(playingOnly) {
|
restoreAr(playingOnly?: boolean) {
|
||||||
if (playingOnly) {
|
if (playingOnly) {
|
||||||
for(let vd of this.videos){
|
for(let vd of this.videos){
|
||||||
if (vd.isPlaying()) {
|
if (vd.isPlaying()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user