diff options
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.`; |