diff options
Diffstat (limited to 'recipes/circuit/webview.js')
-rw-r--r-- | recipes/circuit/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/circuit/webview.js b/recipes/circuit/webview.js index c04022d..62c35fa 100644 --- a/recipes/circuit/webview.js +++ b/recipes/circuit/webview.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | // Get value of <title> tag where in case of new messages the number of messages appear | 3 | // Get value of <title> tag where in case of new messages the number of messages appear |
4 | const title = document.querySelector('title'); | 4 | const title = document.querySelector('title'); |
@@ -9,9 +9,9 @@ module.exports = Ferdi => { | |||
9 | const unread = match != null && match.length > 0 ? match[0] : 0; | 9 | const unread = match != null && match.length > 0 ? match[0] : 0; |
10 | 10 | ||
11 | // Set unread msgs badge | 11 | // Set unread msgs badge |
12 | Ferdi.setBadge(Ferdi.safeParseInt(unread)); | 12 | Ferdium.setBadge(Ferdium.safeParseInt(unread)); |
13 | } | 13 | } |
14 | }; | 14 | }; |
15 | 15 | ||
16 | Ferdi.loop(getMessages); | 16 | Ferdium.loop(getMessages); |
17 | }; | 17 | }; |