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/clubhouse/package.json | 2 +- recipes/clubhouse/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/clubhouse') diff --git a/recipes/clubhouse/package.json b/recipes/clubhouse/package.json index 1fe2000..55e5aa8 100644 --- a/recipes/clubhouse/package.json +++ b/recipes/clubhouse/package.json @@ -1,7 +1,7 @@ { "id": "clubhouse", "name": "Clubhouse", - "version": "1.1.0", + "version": "1.1.1", "license": "MIT", "repository": "https://github.com/dnlnrs/ferdi-recipe-clubhouse", "config": { diff --git a/recipes/clubhouse/webview.js b/recipes/clubhouse/webview.js index be02ac0..ae92c04 100644 --- a/recipes/clubhouse/webview.js +++ b/recipes/clubhouse/webview.js @@ -1,5 +1,5 @@ module.exports = (Ferdi) => { - function getMessages() { + const getMessages = () => { const hasNotifications = document.querySelector('#notifications-link .badge').classList.contains('visible'); Ferdi.setBadge(0, hasNotifications ? 1 : 0); } -- cgit v1.2.3-54-g00ecf