aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/proton-mail/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/proton-mail/webview.js')
-rw-r--r--recipes/proton-mail/webview.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/recipes/proton-mail/webview.js b/recipes/proton-mail/webview.js
index fd1a865..2417309 100644
--- a/recipes/proton-mail/webview.js
+++ b/recipes/proton-mail/webview.js
@@ -6,9 +6,6 @@ module.exports = Franz => {
6 } 6 }
7 const text = element.innerText; 7 const text = element.innerText;
8 const count = Number(text.substring(1, text.length - 1)); 8 const count = Number(text.substring(1, text.length - 1));
9 if (Number.isNaN(count)) {
10 return;
11 }
12 Franz.setBadge(count); 9 Franz.setBadge(count);
13 } 10 }
14 11