diff options
Diffstat (limited to 'recipes/hangoutschat')
-rw-r--r-- | recipes/hangoutschat/package.json | 2 | ||||
-rw-r--r-- | recipes/hangoutschat/webview.js | 2 |
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 | ||