From 3727b1135620fb2d827e7d25f93506c2f5b112d0 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sat, 8 Aug 2020 01:20:19 +0200 Subject: [PATCH] Fixed a small compile error within the popout controller --- .../js/ui/react-elements/external-modal/PopoutController.ts | 2 +- shared/js/video-viewer/Controller.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/js/ui/react-elements/external-modal/PopoutController.ts b/shared/js/ui/react-elements/external-modal/PopoutController.ts index faea952d..d2b230be 100644 --- a/shared/js/ui/react-elements/external-modal/PopoutController.ts +++ b/shared/js/ui/react-elements/external-modal/PopoutController.ts @@ -24,7 +24,7 @@ class PopoutController extends EventControllerBase<"popout"> { private callbackControllerHello: (accepted: boolean | string) => void; constructor() { - super(new Registry()); + super(new Registry()); this.ipcRemoteId = Settings.instance.static(Settings.KEY_IPC_REMOTE_ADDRESS, "invalid"); this.ipcChannel = getIPCInstance().createChannel(this.ipcRemoteId, Settings.instance.static(kSettingIPCChannel, "invalid")); diff --git a/shared/js/video-viewer/Controller.ts b/shared/js/video-viewer/Controller.ts index 432c3e5b..a7026052 100644 --- a/shared/js/video-viewer/Controller.ts +++ b/shared/js/video-viewer/Controller.ts @@ -64,8 +64,8 @@ class VideoViewer { if(this.currentVideoUrl === url) return; - this.events.fire("notify_following", { watcherId: undefined }); - this.events.fire("notify_video", { url: url }); + this.events.fire_async("notify_following", { watcherId: undefined }); + this.events.fire_async("notify_video", { url: url }); } async open() {