From 7517a409a1a502c747eb4598492a88cec4e8d58c Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 19 Sep 2021 07:26:25 +0530 Subject: fix: fix js error; styling --- recipes/hangoutschat/package.json | 2 +- recipes/hangoutschat/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/hangoutschat') 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 @@ { "id": "hangoutschat", "name": "Hangouts Chat", - "version": "1.5.0", + "version": "1.5.1", "license": "MIT", "aliases": [ "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) => { // class corresponding to the bold text that is visible for room messages const indirectMessageSelector = 'div.V6.CL.V2.X9.Y2 span.akt span.XU'; - const getMessages = function getMessages() { + const getMessages = () => { // get unread direct messages const directCount = Number(document.querySelector(directMessageSelector).innerText); -- cgit v1.2.3-70-g09d2