diff options
author | 2021-07-31 15:28:23 +0530 | |
---|---|---|
committer | 2021-07-31 15:28:23 +0530 | |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/unraid/webview.js | |
parent | Allow any url in the custom-service to allow for sites like 'http://translate... (diff) | |
download | ferdium-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/webview.js')
-rw-r--r-- | recipes/unraid/webview.js | 6 |
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 @@ | |||
1 | module.exports = (Franz) => { | 1 | module.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 | ||