Updating the watcher list on video switching
This commit is contained in:
parent
4b7cd15a24
commit
db36b52574
1 changed files with 3 additions and 2 deletions
|
@ -64,8 +64,9 @@ class VideoViewer {
|
||||||
if(this.currentVideoUrl === url)
|
if(this.currentVideoUrl === url)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this.events.fire_async("notify_following", { watcherId: undefined });
|
this.events.fire("notify_following", { watcherId: undefined });
|
||||||
this.events.fire_async("notify_video", { url: url });
|
this.events.fire("notify_video", { url: url });
|
||||||
|
this.notifyWatcherList();
|
||||||
}
|
}
|
||||||
|
|
||||||
async open() {
|
async open() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue