diff options
Diffstat (limited to 'recipes/unraid/webview.js')
-rw-r--r-- | recipes/unraid/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/unraid/webview.js b/recipes/unraid/webview.js index 4d194c4..f3a9eb4 100644 --- a/recipes/unraid/webview.js +++ b/recipes/unraid/webview.js | |||
@@ -1,9 +1,9 @@ | |||
1 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdium) => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | const messages = $('#jGrowl .jGrowl-notify').length; | 3 | const messages = $('#jGrowl .jGrowl-notify').length; |
4 | 4 | ||
5 | Ferdi.setBadge(messages - 1); | 5 | Ferdium.setBadge(messages - 1); |
6 | }; | 6 | }; |
7 | 7 | ||
8 | Ferdi.loop(getMessages); | 8 | Ferdium.loop(getMessages); |
9 | }; | 9 | }; |