aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mastodon/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/mastodon/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/mastodon/webview.js')
-rw-r--r--recipes/mastodon/webview.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/mastodon/webview.js b/recipes/mastodon/webview.js
index 8fb448f..e34f284 100644
--- a/recipes/mastodon/webview.js
+++ b/recipes/mastodon/webview.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 let latestStatement = $('.status time').attr('datetime'); 2 let latestStatement = $('.status time').attr('datetime');
3 let latestNotify = $($('.notification__message span').get(0)).text(); 3 let latestNotify = $($('.notification__message span').get(0)).text();
4 4
@@ -21,8 +21,8 @@ module.exports = Ferdi => {
21 unread = 1; 21 unread = 1;
22 } 22 }
23 23
24 Ferdi.setBadge(reply, unread); 24 Ferdium.setBadge(reply, unread);
25 }; 25 };
26 26
27 Ferdi.loop(getMessages); 27 Ferdium.loop(getMessages);
28}; 28};