diff options
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/Service.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/models/Service.js b/src/models/Service.js index b76e92a53..796734e41 100644 --- a/src/models/Service.js +++ b/src/models/Service.js | |||
@@ -288,7 +288,11 @@ export default class Service { | |||
288 | this.webview.addEventListener('new-window', (event, url, frameName, options) => { | 288 | this.webview.addEventListener('new-window', (event, url, frameName, options) => { |
289 | debug('new-window', event, url, frameName, options); | 289 | debug('new-window', event, url, frameName, options); |
290 | if (event.disposition === 'foreground-tab') { | 290 | if (event.disposition === 'foreground-tab') { |
291 | ipcRenderer.send('open-browser-window', event, this.id); | 291 | ipcRenderer.send('open-browser-window', { |
292 | disposition: event.disposition, | ||
293 | url: event.url, | ||
294 | serviceId: this.id, | ||
295 | }); | ||
292 | } else { | 296 | } else { |
293 | openWindow({ | 297 | openWindow({ |
294 | event, | 298 | event, |