aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hangoutschat
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-09-19 07:26:25 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-09-19 09:11:55 +0530
commit7517a409a1a502c747eb4598492a88cec4e8d58c (patch)
tree7b6b603b0831845ac07fe6ab8e4c52bf19c8e850 /recipes/hangoutschat
parentMerge pull request #713 from kris7t/fix-api-access (diff)
downloadferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.tar.gz
ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.tar.zst
ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.zip
fix: fix js error; styling
Diffstat (limited to 'recipes/hangoutschat')
-rw-r--r--recipes/hangoutschat/package.json2
-rw-r--r--recipes/hangoutschat/webview.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/hangoutschat/package.json b/recipes/hangoutschat/package.json
index 6bbfba4..57f6e13 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.5.0", 4 "version": "1.5.1",
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 0244d33..c8aa952 100644
--- a/recipes/hangoutschat/webview.js
+++ b/recipes/hangoutschat/webview.js
@@ -5,7 +5,7 @@ module.exports = (Ferdi) => {
5 // class corresponding to the bold text that is visible for room messages 5 // class corresponding to the bold text that is visible for room messages
6 const indirectMessageSelector = 'div.V6.CL.V2.X9.Y2 span.akt span.XU'; 6 const indirectMessageSelector = 'div.V6.CL.V2.X9.Y2 span.akt span.XU';
7 7
8 const getMessages = function getMessages() { 8 const getMessages = () => {
9 // get unread direct messages 9 // get unread direct messages
10 const directCount = Number(document.querySelector(directMessageSelector).innerText); 10 const directCount = Number(document.querySelector(directMessageSelector).innerText);
11 11