Don't return promises for frontend message handlers
This commit is contained in:
parent
0fb2357ec7
commit
d6c64643b1
@ -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); }]
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user