diff options
author | Vijay A <avijayr@protonmail.com> | 2021-09-12 05:56:40 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-09-12 05:56:40 +0530 |
commit | 23588d987b26e6bf84fa994228b976ebd55b6210 (patch) | |
tree | 46c1327bdef3099ad959ab712bbfea3d1ee55028 /recipes/android-messages/webview.js | |
parent | fix issue with Office365 not getting unread counts in non-english locale (fix... (diff) | |
download | ferdium-recipes-23588d987b26e6bf84fa994228b976ebd55b6210.tar.gz ferdium-recipes-23588d987b26e6bf84fa994228b976ebd55b6210.tar.zst ferdium-recipes-23588d987b26e6bf84fa994228b976ebd55b6210.zip |
docs: added TODO [skip ci]
Diffstat (limited to 'recipes/android-messages/webview.js')
-rw-r--r-- | recipes/android-messages/webview.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes/android-messages/webview.js b/recipes/android-messages/webview.js index e1cfde4..6a73441 100644 --- a/recipes/android-messages/webview.js +++ b/recipes/android-messages/webview.js | |||
@@ -1,6 +1,7 @@ | |||
1 | setTimeout(() => { | 1 | setTimeout(() => { |
2 | const elem = document.querySelector('#af-error-container'); | 2 | const elem = document.querySelector('#af-error-container'); |
3 | 3 | ||
4 | // TODO: This will not work for non-english locales | ||
4 | if (elem && elem.innerText.toLowerCase().includes('the requested url was not found on this server')) { | 5 | if (elem && elem.innerText.toLowerCase().includes('the requested url was not found on this server')) { |
5 | window.location.reload(); | 6 | window.location.reload(); |
6 | } | 7 | } |