aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/unraid
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/unraid')
-rw-r--r--recipes/unraid/index.js4
-rw-r--r--recipes/unraid/webview.js6
2 files changed, 3 insertions, 7 deletions
diff --git a/recipes/unraid/index.js b/recipes/unraid/index.js
index 0c500c1..0b926e1 100644
--- a/recipes/unraid/index.js
+++ b/recipes/unraid/index.js
@@ -1,6 +1,4 @@
1"use strict";
2
3// just pass through Franz 1// just pass through Franz
4module.exports = function (Franz) { 2module.exports = function (Franz) {
5 return Franz; 3 return Franz;
6}; \ No newline at end of file 4};
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