diff options
author | 2018-01-05 14:36:45 +0100 | |
---|---|---|
committer | 2018-01-05 14:36:45 +0100 | |
commit | e2d6edf093823bbbab35ef3a1c62e946913507b8 (patch) | |
tree | 94259d76cb2127d4bfc332460e6cdf06c63300eb /src/stores | |
parent | Improve annoying livereload reload behaviour for main/webview processes (diff) | |
download | ferdium-app-e2d6edf093823bbbab35ef3a1c62e946913507b8.tar.gz ferdium-app-e2d6edf093823bbbab35ef3a1c62e946913507b8.tar.zst ferdium-app-e2d6edf093823bbbab35ef3a1c62e946913507b8.zip |
feat(Services): Improve handling of external links
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/ServicesStore.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 87ee57a0d..bd5014aaa 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -336,6 +336,10 @@ export default class ServicesStore extends Store { | |||
336 | redirect: false, | 336 | redirect: false, |
337 | }); | 337 | }); |
338 | } | 338 | } |
339 | } else if (channel === 'new-window') { | ||
340 | const url = args[0]; | ||
341 | |||
342 | this.actions.app.openExternalUrl({ url }); | ||
339 | } | 343 | } |
340 | } | 344 | } |
341 | 345 | ||