diff options
author | 2024-05-25 11:33:10 +0530 | |
---|---|---|
committer | 2024-05-25 11:33:10 +0530 | |
commit | 450b486dd5404a2c5e837f7b355a35d2c3a7f6fe (patch) | |
tree | a76bef19e000a8282529cc560e6f4eb9587e73bd /recipes/hangoutschat/webview.js | |
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
Diffstat (limited to 'recipes/hangoutschat/webview.js')
-rw-r--r-- | recipes/hangoutschat/webview.js | 4 |
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( |