diff options
author | 2020-02-11 14:10:40 +0100 | |
---|---|---|
committer | 2020-02-11 14:10:40 +0100 | |
commit | 616811ae26eade9556d4de066d266591cd3bcf63 (patch) | |
tree | cacc08f3b823f6df2ac14e9cf94c19a124141209 /src/features | |
parent | Merge branch 'develop' of https://github.com/getferdi/ferdi into develop (diff) | |
download | ferdium-app-616811ae26eade9556d4de066d266591cd3bcf63.tar.gz ferdium-app-616811ae26eade9556d4de066d266591cd3bcf63.tar.zst ferdium-app-616811ae26eade9556d4de066d266591cd3bcf63.zip |
Fix lint
Diffstat (limited to 'src/features')
-rw-r--r-- | src/features/todos/preload.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/todos/preload.js b/src/features/todos/preload.js index 0a1183030..d834cf547 100644 --- a/src/features/todos/preload.js +++ b/src/features/todos/preload.js | |||
@@ -22,10 +22,10 @@ ipcRenderer.on(IPC.TODOS_HOST_CHANNEL, (event, message) => { | |||
22 | hostMessageListener(message); | 22 | hostMessageListener(message); |
23 | }); | 23 | }); |
24 | 24 | ||
25 | if (location.href === 'https://app.franztodos.com/login/') { | 25 | if (window.location.href === 'https://app.franztodos.com/login/') { |
26 | // Insert info element informing about Franz accounts | 26 | // Insert info element informing about Franz accounts |
27 | const infoElement = document.createElement('p'); | 27 | const infoElement = document.createElement('p'); |
28 | infoElement.innerText = `You are using Franz\'s official Todo Service. | 28 | infoElement.innerText = `You are using Franz's official Todo Service. |
29 | This service will only work with accounts registered with Franz - no Ferdi accounts will work here! | 29 | This service will only work with accounts registered with Franz - no Ferdi accounts will work here! |
30 | If you do not have a Franz account you can change the Todo service by going into Ferdi's settings and changing the "Todo server". | 30 | If you do not have a Franz account you can change the Todo service by going into Ferdi's settings and changing the "Todo server". |
31 | You can choose any service as this Todo server, e.g. Todoist or Apple Notes.`; | 31 | You can choose any service as this Todo server, e.g. Todoist or Apple Notes.`; |