Update DiscordPreview.js
This commit is contained in:
parent
4e9e496fe9
commit
b09186f6a1
|
@ -12,7 +12,7 @@
|
|||
if (browserWindow) return browserWindow;
|
||||
}
|
||||
};
|
||||
const = respondToParent = (data = {}) => {
|
||||
const respondToParent = (data = {}) => {
|
||||
if (window.parent && typeof window.parent.postMessage == "function") window.parent.postMessage(data, "*");
|
||||
if (data.hostId != null && data.hostName != null) {
|
||||
let ipcRenderer = (nativeRequire("electron") || {}).ipcRenderer;
|
||||
|
|
Loading…
Reference in New Issue