diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/hangoutschat/package.json | 2 | ||||
-rw-r--r-- | recipes/hangoutschat/webview.js | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/recipes/hangoutschat/package.json b/recipes/hangoutschat/package.json index 4c0b260..0f9f3f8 100644 --- a/recipes/hangoutschat/package.json +++ b/recipes/hangoutschat/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "hangoutschat", | 2 | "id": "hangoutschat", |
3 | "name": "Hangouts Chat", | 3 | "name": "Hangouts Chat", |
4 | "version": "1.8.2", | 4 | "version": "1.8.3", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "aliases": [ | 6 | "aliases": [ |
7 | "google-chat", | 7 | "google-chat", |
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( |