aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/circuit/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
commit18801ed0c02627e87639dc0848cab44dacc18be2 (patch)
tree15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/circuit/webview.js
parentRemove deprecated webPreference flag (diff)
downloadferdium-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.js6
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 @@
1module.exports = Ferdi => { 1module.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};