aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/unraid
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
commit97697e3d069972844b2912a93022f4a4904a40d6 (patch)
tree53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/unraid
parentAllow any url in the custom-service to allow for sites like 'http://translate... (diff)
downloadferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip
Fixed eslintrc as root for this folder; Reformatted all files.
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