Don't return promises for frontend message handlers

This commit is contained in:
toasted-nutbread 2019-12-15 21:51:26 -05:00
parent 0fb2357ec7
commit d6c64643b1

View File

@ -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); }]
]);