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] }); });