aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hangoutschat/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/hangoutschat/webview.js')
-rw-r--r--recipes/hangoutschat/webview.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/hangoutschat/webview.js b/recipes/hangoutschat/webview.js
index 307a752..7d98824 100644
--- a/recipes/hangoutschat/webview.js
+++ b/recipes/hangoutschat/webview.js
@@ -23,7 +23,9 @@ module.exports = Ferdium => {
23 let indirectCount; 23 let indirectCount;
24 24
25 // get unread messages count 25 // get unread messages count
26 directCount = document.querySelectorAll('link[href^="https://ssl.gstatic.com/ui/v1/icons/mail/images/favicon_chat_new_notif_"][href$=".ico"]').length; 26 directCount = document.querySelectorAll(
27 'link[href^="https://ssl.gstatic.com/ui/v1/icons/mail/images/favicon_chat_new_notif_"][href$=".ico"]',
28 ).length;
27 29
28 // get unread indirect messages 30 // get unread indirect messages
29 const indirectCountSelector = document.querySelector( 31 const indirectCountSelector = document.querySelector(