mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-23 14:39:32 +08:00
fix(renderer): Init displayMessage before it is loaded, closes #470.
This commit is contained in:
parent
e5b3d739a3
commit
fac7e39776
@ -28,6 +28,7 @@ import createUpdateBlock from './page/block/updateBlock';
|
||||
|
||||
// eslint-disable-next-line no-undef
|
||||
const windowContext = window;
|
||||
windowContext.displayMessage = () => () => undefined;
|
||||
// eslint-disable-next-line no-undef
|
||||
const documentContext = document;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user