aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/rainloop/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/rainloop/webview.js')
-rw-r--r--recipes/rainloop/webview.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes/rainloop/webview.js b/recipes/rainloop/webview.js
index 0a29849..6b0c3d6 100644
--- a/recipes/rainloop/webview.js
+++ b/recipes/rainloop/webview.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 const getMessages = () => { 2 const getMessages = () => {
3 let messages = 0; 3 let messages = 0;
4 4
@@ -11,16 +11,16 @@ module.exports = Ferdi => {
11 if (obj.classList.contains('system')) { 11 if (obj.classList.contains('system')) {
12 // Only count the Inbox system folder and ignore Archive, Trash, Drafts, Spam, Sent 12 // Only count the Inbox system folder and ignore Archive, Trash, Drafts, Spam, Sent
13 if (obj.classList.contains('i-am-inbox')) { 13 if (obj.classList.contains('i-am-inbox')) {
14 messages += Ferdi.safeParseInt(countText); 14 messages += Ferdium.safeParseInt(countText);
15 } 15 }
16 } else { 16 } else {
17 messages += Ferdi.safeParseInt(countText); 17 messages += Ferdium.safeParseInt(countText);
18 } 18 }
19 } 19 }
20 } 20 }
21 21
22 Ferdi.setBadge(messages); 22 Ferdium.setBadge(messages);
23 }; 23 };
24 24
25 Ferdi.loop(getMessages); 25 Ferdium.loop(getMessages);
26}; 26};