diff options
author | 2024-05-25 11:33:10 +0530 | |
---|---|---|
committer | 2024-05-25 11:33:10 +0530 | |
commit | 450b486dd5404a2c5e837f7b355a35d2c3a7f6fe (patch) | |
tree | a76bef19e000a8282529cc560e6f4eb9587e73bd | |
parent | Fix the method for detecting unread messages for Google Chat (#554) (diff) | |
download | ferdium-recipes-450b486dd5404a2c5e837f7b355a35d2c3a7f6fe.tar.gz ferdium-recipes-450b486dd5404a2c5e837f7b355a35d2c3a7f6fe.tar.zst ferdium-recipes-450b486dd5404a2c5e837f7b355a35d2c3a7f6fe.zip |
Fix formatting issue that was causing build failure
-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( |