aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/zalo/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/zalo/webview.js')
-rw-r--r--recipes/zalo/webview.js3
1 files changed, 2 insertions, 1 deletions
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]) {