diff options
Diffstat (limited to 'recipes/nextcloud/webview.js')
-rw-r--r-- | recipes/nextcloud/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/nextcloud/webview.js b/recipes/nextcloud/webview.js index 9072ecf..786f7a8 100644 --- a/recipes/nextcloud/webview.js +++ b/recipes/nextcloud/webview.js | |||
@@ -1,11 +1,11 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | const direct = document.querySelectorAll( | 3 | const direct = document.querySelectorAll( |
4 | '.notifications .notification-container .notification-wrapper li .notification', | 4 | '.notifications .notification-container .notification-wrapper li .notification', |
5 | ).length; | 5 | ).length; |
6 | 6 | ||
7 | Ferdi.setBadge(direct); | 7 | Ferdium.setBadge(direct); |
8 | }; | 8 | }; |
9 | 9 | ||
10 | Ferdi.loop(getMessages); | 10 | Ferdium.loop(getMessages); |
11 | }; | 11 | }; |