aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-15 21:51:26 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-16 19:54:41 -0500
commitd6c64643b1f734905c50e599b3cf95f92c25175a (patch)
tree04563f85946f717eb467f3b26e214064ba05e2ff
parent0fb2357ec7388198134aed021a7014c0c0dda5c9 (diff)
Don't return promises for frontend message handlers
-rw-r--r--ext/fg/js/frontend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js
index d29e4e4c..c8e112a7 100644
--- a/ext/fg/js/frontend.js
+++ b/ext/fg/js/frontend.js
@@ -200,6 +200,6 @@ Frontend._windowMessageHandlers = new Map([
]);
Frontend._runtimeMessageHandlers = new Map([
- ['optionsUpdate', (self) => self.updateOptions()],
- ['popupSetVisibleOverride', (self, {visible}) => self.popup.setVisibleOverride(visible)]
+ ['optionsUpdate', (self) => { self.updateOptions(); }],
+ ['popupSetVisibleOverride', (self, {visible}) => { self.popup.setVisibleOverride(visible); }]
]);