diff options
author | 2020-04-15 13:28:17 +0200 | |
---|---|---|
committer | 2020-04-15 13:28:17 +0200 | |
commit | 58d2fa54d2e14b796477b66a180ec7881c0eb0d9 (patch) | |
tree | 1443e143f52db2851ba564c91278245286ee8cee /uncompressed/zulip/webview.js | |
parent | Merge branch 'pr/101' (diff) | |
download | ferdium-recipes-58d2fa54d2e14b796477b66a180ec7881c0eb0d9.tar.gz ferdium-recipes-58d2fa54d2e14b796477b66a180ec7881c0eb0d9.tar.zst ferdium-recipes-58d2fa54d2e14b796477b66a180ec7881c0eb0d9.zip |
#93 Update Zulip
Diffstat (limited to 'uncompressed/zulip/webview.js')
-rw-r--r-- | uncompressed/zulip/webview.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/uncompressed/zulip/webview.js b/uncompressed/zulip/webview.js index 092087f..fdf9551 100644 --- a/uncompressed/zulip/webview.js +++ b/uncompressed/zulip/webview.js | |||
@@ -2,9 +2,8 @@ | |||
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 .home-link .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); |
7 | }; | 7 | }; |
8 | Franz.loop(getMessages); | 8 | Franz.loop(getMessages); |
9 | }; | 9 | }; |
10 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInp1bGlwL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJhbGxNZXNzYWdlcyIsIk1hdGgiLCJyb3VuZCIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvckFsbCIsImlubmVyVGV4dCIsInNldEJhZGdlIiwib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