diff options
Diffstat (limited to 'recipes/nextcloud-calendar/webview.js')
-rw-r--r-- | recipes/nextcloud-calendar/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/nextcloud-calendar/webview.js b/recipes/nextcloud-calendar/webview.js index 49ed705..80bfc45 100644 --- a/recipes/nextcloud-calendar/webview.js +++ b/recipes/nextcloud-calendar/webview.js | |||
@@ -9,7 +9,7 @@ module.exports = Ferdium => { | |||
9 | const directSelector = document.querySelectorAll( | 9 | const directSelector = document.querySelectorAll( |
10 | '.notifications .notification-wrapper .notification[object_type="dav"]', | 10 | '.notifications .notification-wrapper .notification[object_type="dav"]', |
11 | ); | 11 | ); |
12 | const direct = directSelector ? Ferdium.safeParseInt(selector.length) : 0; | 12 | const direct = directSelector ? Ferdium.safeParseInt(directSelector.length) : 0; |
13 | 13 | ||
14 | Ferdium.setBadge(direct); | 14 | Ferdium.setBadge(direct); |
15 | }; | 15 | }; |