diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-09-27 14:16:40 +0200 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-09-27 14:16:40 +0200 |
commit | 5ba67233d0b1363c7e0e7c25b33b88c483c17bf9 (patch) | |
tree | e8a329eeee6379384b27755c7620751cab3e8de2 /src | |
parent | Fix spellchecker (diff) | |
download | ferdium-app-5ba67233d0b1363c7e0e7c25b33b88c483c17bf9.tar.gz ferdium-app-5ba67233d0b1363c7e0e7c25b33b88c483c17bf9.tar.zst ferdium-app-5ba67233d0b1363c7e0e7c25b33b88c483c17bf9.zip |
feat(Todos): Allow todos to open links in browser
Diffstat (limited to 'src')
-rw-r--r-- | src/features/todos/store.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/features/todos/store.js b/src/features/todos/store.js index abf176604..4480b2545 100644 --- a/src/features/todos/store.js +++ b/src/features/todos/store.js | |||
@@ -162,6 +162,10 @@ export default class TodoStore extends FeatureStore { | |||
162 | theme: isDarkThemeActive ? ThemeType.dark : ThemeType.default, | 162 | theme: isDarkThemeActive ? ThemeType.dark : ThemeType.default, |
163 | }, | 163 | }, |
164 | }); | 164 | }); |
165 | |||
166 | this.webview.addEventListener('new-window', ({ url }) => { | ||
167 | this.actions.app.openExternalUrl({ url }); | ||
168 | }); | ||
165 | }; | 169 | }; |
166 | 170 | ||
167 | _goToService = ({ url, serviceId }) => { | 171 | _goToService = ({ url, serviceId }) => { |