aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/clubhouse/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/clubhouse/webview.js')
-rw-r--r--recipes/clubhouse/webview.js2
1 files changed, 1 insertions, 1 deletions
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 @@
1module.exports = (Ferdi) => { 1module.exports = (Ferdi) => {
2 function getMessages() { 2 const getMessages = () => {
3 const hasNotifications = document.querySelector('#notifications-link .badge').classList.contains('visible'); 3 const hasNotifications = document.querySelector('#notifications-link .badge').classList.contains('visible');
4 Ferdi.setBadge(0, hasNotifications ? 1 : 0); 4 Ferdi.setBadge(0, hasNotifications ? 1 : 0);
5 } 5 }