diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 2586d7799..018bdc059 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -438,7 +438,7 @@ ipcMain.on('feature-basic-auth-credentials', (e, { user, password }) => { | |||
438 | authCallback = noop; | 438 | authCallback = noop; |
439 | }); | 439 | }); |
440 | 440 | ||
441 | ipcMain.on('open-browser-window', (e, { disposition, url }, serviceId) => { | 441 | ipcMain.on('open-browser-window', (e, { disposition, url, serviceId }) => { |
442 | if (disposition === 'foreground-tab') { | 442 | if (disposition === 'foreground-tab') { |
443 | const serviceSession = session.fromPartition(`persist:service-${serviceId}`); | 443 | const serviceSession = session.fromPartition(`persist:service-${serviceId}`); |
444 | const child = new BrowserWindow({ parent: mainWindow, webPreferences: { session: serviceSession } }); | 444 | const child = new BrowserWindow({ parent: mainWindow, webPreferences: { session: serviceSession } }); |