diff options
Diffstat (limited to 'recipes/hangoutschat/webview.js')
-rw-r--r-- | recipes/hangoutschat/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ||