From ec74c7989ac82000edf82fc7350cdd55a270ae0b Mon Sep 17 00:00:00 2001 From: rafael-aero Date: Wed, 1 Sep 2021 21:31:30 +0200 Subject: [PATCH] Update ipc.js --- ElectronNET.Host/api/ipc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElectronNET.Host/api/ipc.js b/ElectronNET.Host/api/ipc.js index 2f9fc01..da637e5 100644 --- a/ElectronNET.Host/api/ipc.js +++ b/ElectronNET.Host/api/ipc.js @@ -13,7 +13,7 @@ module.exports = (socket) => { electron_1.ipcMain.on(channel, (event, args) => { event.preventDefault(); let wcId = event.sender.id; - let wc = electron_1.webContents.fromId(wcId) + let wc = electron_1.webContents.fromId(wcId); let bw = electron_1.BrowserWindow.fromWebContents(wc); electronSocket.emit(channel, { id: bw.id, wcId: wcId, args: [args] }); });