aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-02-14 02:33:54 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2020-02-14 02:33:54 +0200
commit810a7e7d92d15412974810702d954de60453dd31 (patch)
tree9dc0e7744f2ac31a0b2707ade94a7ca1dde50363 /ext/fg/js/frontend.js
parentd7e1ef01d8af4a315a31364eb5138e24a132ea1e (diff)
use sendMessage to notify about initialization
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r--ext/fg/js/frontend.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index 2286bf19..571bbf91 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -243,5 +243,6 @@ Frontend._windowMessageHandlers = new Map([
]);
Frontend._runtimeMessageHandlers = new Map([
- ['popupSetVisibleOverride', (self, {visible}) => { self.popup.setVisibleOverride(visible); }]
+ ['popupSetVisibleOverride', (self, {visible}) => { self.popup.setVisibleOverride(visible); }],
+ ['popupSetDisplayInitialized', (self) => { self.popup.setDisplayInitialized(); }]
]);