aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/chatwork/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/chatwork/webview.js')
-rw-r--r--recipes/chatwork/webview.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/chatwork/webview.js b/recipes/chatwork/webview.js
index ed09ef7..6b961ed 100644
--- a/recipes/chatwork/webview.js
+++ b/recipes/chatwork/webview.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 const getMessages = () => { 2 const getMessages = () => {
3 let directCount = 0; 3 let directCount = 0;
4 let indirectCount = 0; 4 let indirectCount = 0;
@@ -11,7 +11,7 @@ module.exports = Ferdi => {
11 ); 11 );
12 12
13 if (unreadBadge && unreadBadge.textContent) { 13 if (unreadBadge && unreadBadge.textContent) {
14 count = Ferdi.safeParseInt(unreadBadge.textContent); 14 count = Ferdium.safeParseInt(unreadBadge.textContent);
15 } 15 }
16 16
17 if (count > 0) { 17 if (count > 0) {
@@ -31,8 +31,8 @@ module.exports = Ferdi => {
31 } 31 }
32 } 32 }
33 }); 33 });
34 Ferdi.setBadge(directCount, indirectCount); 34 Ferdium.setBadge(directCount, indirectCount);
35 }; 35 };
36 36
37 Ferdi.loop(getMessages); 37 Ferdium.loop(getMessages);
38}; 38};