diff options
Diffstat (limited to 'recipes/zalo')
-rw-r--r-- | recipes/zalo/package.json | 2 | ||||
-rw-r--r-- | recipes/zalo/webview.js | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/recipes/zalo/package.json b/recipes/zalo/package.json index 76cef76..e2fafbc 100644 --- a/recipes/zalo/package.json +++ b/recipes/zalo/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "zalo", | 2 | "id": "zalo", |
3 | "name": "Zalo", | 3 | "name": "Zalo", |
4 | "version": "1.5.0", | 4 | "version": "1.5.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://chat.zalo.me/", | 7 | "serviceURL": "https://chat.zalo.me/", |
diff --git a/recipes/zalo/webview.js b/recipes/zalo/webview.js index 3c432a6..3d0bfb8 100644 --- a/recipes/zalo/webview.js +++ b/recipes/zalo/webview.js | |||
@@ -36,7 +36,8 @@ module.exports = Ferdium => { | |||
36 | const convUnread = document.querySelectorAll( | 36 | const convUnread = document.querySelectorAll( |
37 | '.conv-unread:not(.func-unread__muted)', | 37 | '.conv-unread:not(.func-unread__muted)', |
38 | ); | 38 | ); |
39 | if (convUnread.length === 0) count = 6; // 5+ | 39 | if (convUnread.length === 0) |
40 | count = 6; // 5+ | ||
40 | else | 41 | else |
41 | for (const convUnreadItem of convUnread) { | 42 | for (const convUnreadItem of convUnread) { |
42 | switch (convUnreadItem.classList[1]) { | 43 | switch (convUnreadItem.classList[1]) { |