aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/glowing-bear/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/glowing-bear/webview.js')
-rw-r--r--recipes/glowing-bear/webview.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/glowing-bear/webview.js b/recipes/glowing-bear/webview.js
index 8bb9dfd..b20796f 100644
--- a/recipes/glowing-bear/webview.js
+++ b/recipes/glowing-bear/webview.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 const getMessages = () => { 2 const getMessages = () => {
3 const indirectElements = document.querySelectorAll('.badge:not(.danger)'); 3 const indirectElements = document.querySelectorAll('.badge:not(.danger)');
4 const direct = document.querySelectorAll('.badge.danger').length - 1; 4 const direct = document.querySelectorAll('.badge.danger').length - 1;
@@ -11,8 +11,8 @@ module.exports = Ferdi => {
11 indirect++; 11 indirect++;
12 } 12 }
13 } 13 }
14 Ferdi.setBadge(direct, indirect); 14 Ferdium.setBadge(direct, indirect);
15 }; 15 };
16 16
17 Ferdi.loop(getMessages); 17 Ferdium.loop(getMessages);
18}; 18};