aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/unraid/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/unraid/webview.js')
-rw-r--r--recipes/unraid/webview.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes/unraid/webview.js b/recipes/unraid/webview.js
index 38695da..416c722 100644
--- a/recipes/unraid/webview.js
+++ b/recipes/unraid/webview.js
@@ -1,11 +1,9 @@
1module.exports = (Franz) => { 1module.exports = (Franz) => {
2
3 const getMessages = () => { 2 const getMessages = () => {
4 const messages = $('#jGrowl .jGrowl-notify').length; 3 const messages = $('#jGrowl .jGrowl-notify').length;
5 4
6 Franz.setBadge(messages - 1); 5 Franz.setBadge(messages - 1);
7 } 6 };
8 7
9 Franz.loop(getMessages); 8 Franz.loop(getMessages);
10 9};
11}; \ No newline at end of file