diff options
Diffstat (limited to 'recipes/nomadlist')
-rw-r--r-- | recipes/nomadlist/webview.js | 4 |
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 | }; |