diff options
Diffstat (limited to 'uncompressed/clubhouse/webview.js')
-rw-r--r-- | uncompressed/clubhouse/webview.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/uncompressed/clubhouse/webview.js b/uncompressed/clubhouse/webview.js deleted file mode 100644 index 51cd09d..0000000 --- a/uncompressed/clubhouse/webview.js +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | module.exports = (Ferdi) => { | ||
2 | function getMessages() { | ||
3 | const hasNotifications = document.querySelector('#notifications-link .badge').classList.contains('visible'); | ||
4 | if (hasNotifications) { | ||
5 | Ferdi.setBadge(0, 1); | ||
6 | } | ||
7 | } | ||
8 | |||
9 | Ferdi.loop(getMessages); | ||
10 | } | ||