diff options
author | 2022-04-18 06:51:50 -0500 | |
---|---|---|
committer | 2022-04-18 06:51:50 -0500 | |
commit | 18801ed0c02627e87639dc0848cab44dacc18be2 (patch) | |
tree | 15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/circuit/webview.js | |
parent | Remove deprecated webPreference flag (diff) | |
download | ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.gz ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.zst ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.zip |
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
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 | }; |