aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mailbox.org/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mailbox.org/webview.js')
-rw-r--r--recipes/mailbox.org/webview.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/mailbox.org/webview.js b/recipes/mailbox.org/webview.js
index d0fbfd0..68ab707 100644
--- a/recipes/mailbox.org/webview.js
+++ b/recipes/mailbox.org/webview.js
@@ -1,9 +1,9 @@
1module.exports = (Ferdi) => { 1module.exports = (Ferdium) => {
2 const getMessages = () => { 2 const getMessages = () => {
3 const count = document.querySelectorAll('.new-item').length; 3 const count = document.querySelectorAll('.new-item').length;
4 4
5 Ferdi.setBadge(count); 5 Ferdium.setBadge(count);
6 }; 6 };
7 7
8 Ferdi.loop(getMessages); 8 Ferdium.loop(getMessages);
9}; 9};