aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/asana/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/asana/webview.js')
-rw-r--r--recipes/asana/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/asana/webview.js b/recipes/asana/webview.js
index b1938ad..a77e88c 100644
--- a/recipes/asana/webview.js
+++ b/recipes/asana/webview.js
@@ -7,7 +7,7 @@ const _path = _interopRequireDefault(require('path'));
7module.exports = Ferdium => { 7module.exports = Ferdium => {
8 const getMessages = () => { 8 const getMessages = () => {
9 const hasNotification = document.querySelectorAll( 9 const hasNotification = document.querySelectorAll(
10 '.SidebarTopNavLinks-notificationsButton--hasNewNotifications', 10 '.SidebarTopNavLinks-notificationsButtonIndicator',
11 ); 11 );
12 Ferdium.setBadge(hasNotification.length > 0 ? 1 : 0); 12 Ferdium.setBadge(hasNotification.length > 0 ? 1 : 0);
13 }; 13 };