aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hangoutschat/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/hangoutschat/webview.js')
-rw-r--r--recipes/hangoutschat/webview.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/hangoutschat/webview.js b/recipes/hangoutschat/webview.js
index e2e5912..98309fb 100644
--- a/recipes/hangoutschat/webview.js
+++ b/recipes/hangoutschat/webview.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 // class corresponding to the red badge that is visible for direct messages 2 // class corresponding to the red badge that is visible for direct messages
3 const directMessageSelector = 'div.V6.CL.su.ahD.X9.Y2 span.akt span.XU'; 3 const directMessageSelector = 'div.V6.CL.su.ahD.X9.Y2 span.akt span.XU';
4 4
@@ -23,11 +23,11 @@ module.exports = Ferdi => {
23 indirectCount = Number(indirectCountSelector.textContent); 23 indirectCount = Number(indirectCountSelector.textContent);
24 } 24 }
25 25
26 // set Ferdi badge 26 // set Ferdium badge
27 Ferdi.setBadge(directCount, indirectCount); 27 Ferdium.setBadge(directCount, indirectCount);
28 }; 28 };
29 29
30 Ferdi.loop(getMessages); 30 Ferdium.loop(getMessages);
31 31
32 document.addEventListener('click', e => { 32 document.addEventListener('click', e => {
33 // @ts-ignore 33 // @ts-ignore