diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-02-14 02:33:54 +0200 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2020-02-14 02:33:54 +0200 |
commit | 810a7e7d92d15412974810702d954de60453dd31 (patch) | |
tree | 9dc0e7744f2ac31a0b2707ade94a7ca1dde50363 /ext/fg/js/frontend.js | |
parent | d7e1ef01d8af4a315a31364eb5138e24a132ea1e (diff) |
use sendMessage to notify about initialization
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r-- | ext/fg/js/frontend.js | 3 |
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(); }] ]); |