Update DiscordPreview.js

This commit is contained in:
Mirco Wittrien 2021-04-01 18:58:57 +02:00
parent 4e9e496fe9
commit b09186f6a1
1 changed files with 1 additions and 1 deletions

View File

@ -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;