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.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/unraid/webview.js b/recipes/unraid/webview.js
new file mode 100644
index 0000000..38695da
--- /dev/null
+++ b/recipes/unraid/webview.js
@@ -0,0 +1,11 @@
1module.exports = (Franz) => {
2
3 const getMessages = () => {
4 const messages = $('#jGrowl .jGrowl-notify').length;
5
6 Franz.setBadge(messages - 1);
7 }
8
9 Franz.loop(getMessages);
10
11}; \ No newline at end of file