diff options
Diffstat (limited to 'uncompressed/zulip')
-rw-r--r-- | uncompressed/zulip/package.json | 4 | ||||
-rw-r--r-- | uncompressed/zulip/webview.js | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/uncompressed/zulip/package.json b/uncompressed/zulip/package.json index 699330b..2cc8690 100644 --- a/uncompressed/zulip/package.json +++ b/uncompressed/zulip/package.json | |||
@@ -1,10 +1,10 @@ | |||
1 | { | 1 | { |
2 | "id": "zulip", | 2 | "id": "zulip", |
3 | "name": "Zulip", | 3 | "name": "Zulip", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "description": "Zulip", | 5 | "description": "Zulip", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Adam Birds <adam.birds@adbtechltd.co.uk>", | 7 | "author": "Adam Birds <adam.birds@adbtechltd.co.uk> and akashnimare", |
8 | "license": "MIT", | 8 | "license": "MIT", |
9 | "config": { | 9 | "config": { |
10 | "hasNotificationSound": true, | 10 | "hasNotificationSound": true, |
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInp1bGlwL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb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