diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-04-18 06:51:50 -0500 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-18 06:51:50 -0500 |
commit | 18801ed0c02627e87639dc0848cab44dacc18be2 (patch) | |
tree | 15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/jitsi/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/jitsi/webview.js')
-rw-r--r-- | recipes/jitsi/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/jitsi/webview.js b/recipes/jitsi/webview.js index f4121e9..6e0e1e9 100644 --- a/recipes/jitsi/webview.js +++ b/recipes/jitsi/webview.js | |||
@@ -1,6 +1,6 @@ | |||
1 | const NOTIFICATION_BADGE_CLASS = '.badge-round'; | 1 | const NOTIFICATION_BADGE_CLASS = '.badge-round'; |
2 | 2 | ||
3 | module.exports = Ferdi => { | 3 | module.exports = Ferdium => { |
4 | const getMessages = () => { | 4 | const getMessages = () => { |
5 | const badges = [...document.querySelectorAll(NOTIFICATION_BADGE_CLASS)]; | 5 | const badges = [...document.querySelectorAll(NOTIFICATION_BADGE_CLASS)]; |
6 | const messages = badges.reduce( | 6 | const messages = badges.reduce( |
@@ -8,8 +8,8 @@ module.exports = Ferdi => { | |||
8 | 0, | 8 | 0, |
9 | ); | 9 | ); |
10 | 10 | ||
11 | Ferdi.setBadge(messages); | 11 | Ferdium.setBadge(messages); |
12 | }; | 12 | }; |
13 | 13 | ||
14 | Ferdi.loop(getMessages); | 14 | Ferdium.loop(getMessages); |
15 | }; | 15 | }; |