diff options
Diffstat (limited to 'recipes/superhuman/webview.js')
-rw-r--r-- | recipes/superhuman/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/superhuman/webview.js b/recipes/superhuman/webview.js index 697efa6..0652545 100644 --- a/recipes/superhuman/webview.js +++ b/recipes/superhuman/webview.js | |||
@@ -1,8 +1,8 @@ | |||
1 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdium) => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | const mentions = document.querySelectorAll('.chat-line .mentioned').length; | 3 | const mentions = document.querySelectorAll('.chat-line .mentioned').length; |
4 | Ferdi.setBadge(mentions, 0); | 4 | Ferdium.setBadge(mentions, 0); |
5 | }; | 5 | }; |
6 | 6 | ||
7 | Ferdi.loop(getMessages); | 7 | Ferdium.loop(getMessages); |
8 | }; | 8 | }; |