aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nomadlist/webview.js
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/nomadlist/webview.js
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/nomadlist/webview.js')
-rw-r--r--recipes/nomadlist/webview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/nomadlist/webview.js b/recipes/nomadlist/webview.js
index a754a5f..be1040c 100644
--- a/recipes/nomadlist/webview.js
+++ b/recipes/nomadlist/webview.js
@@ -4,7 +4,7 @@ module.exports = (Franz, options) => {
4 const getMessages = () => { 4 const getMessages = () => {
5 // get unread messages 5 // get unread messages
6 // const updates = document.getElementById('franz').getAttribute('data-unread'); 6 // const updates = document.getElementById('franz').getAttribute('data-unread');
7 const count = $(".unread").length; 7 const count = $('.unread').length;
8 Franz.setBadge(count); 8 Franz.setBadge(count);
9 9
10 // get conversations in 'My Inbox' 10 // get conversations in 'My Inbox'
@@ -18,4 +18,4 @@ module.exports = (Franz, options) => {
18 18
19 // check for new messages every second and update Franz badge 19 // check for new messages every second and update Franz badge
20 Franz.loop(getMessages); 20 Franz.loop(getMessages);
21}; \ No newline at end of file 21};