diff options
author | 2021-05-27 21:40:16 +0530 | |
---|---|---|
committer | 2021-05-27 21:41:06 +0530 | |
commit | 77b482957237d8a6337e47360bdb8824add56efb (patch) | |
tree | a7a9b77ae47e04860c9746753edcf380e9e8abc7 /recipes/zulip/webview.js | |
parent | Upgraded node modules to the latest versions. (diff) | |
download | ferdium-recipes-77b482957237d8a6337e47360bdb8824add56efb.tar.gz ferdium-recipes-77b482957237d8a6337e47360bdb8824add56efb.tar.zst ferdium-recipes-77b482957237d8a6337e47360bdb8824add56efb.zip |
Re-fetched zulip recipe from https://github.com/adambirds/recipe-zulip
Diffstat (limited to 'recipes/zulip/webview.js')
-rw-r--r-- | recipes/zulip/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/zulip/webview.js b/recipes/zulip/webview.js index fdf9551..a595b2c 100644 --- a/recipes/zulip/webview.js +++ b/recipes/zulip/webview.js | |||
@@ -1,6 +1,6 @@ | |||
1 | "use strict"; | 1 | "use strict"; |
2 | 2 | ||
3 | module.exports = Franz => { | 3 | module.exports = (Franz) => { |
4 | const getMessages = function getMessages() { | 4 | const getMessages = function getMessages() { |
5 | const allMessages = Math.round(document.querySelectorAll("#global_filters .top_left_all_messages .count .value")[0].innerText); | 5 | const allMessages = Math.round(document.querySelectorAll("#global_filters .top_left_all_messages .count .value")[0].innerText); |
6 | Franz.setBadge(allMessages); | 6 | Franz.setBadge(allMessages); |