From d79d303d596669f4fe3323f1ce5608e4e341e93a Mon Sep 17 00:00:00 2001 From: Vijay A Date: Tue, 28 Jun 2022 04:47:07 +0530 Subject: Fix syntax errors in nextcloud recipes --- recipes/nextcloud-calendar/webview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/nextcloud-calendar/webview.js') 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 => { const directSelector = document.querySelectorAll( '.notifications .notification-wrapper .notification[object_type="dav"]', ); - const direct = directSelector ? Ferdium.safeParseInt(selector.length) : 0; + const direct = directSelector ? Ferdium.safeParseInt(directSelector.length) : 0; Ferdium.setBadge(direct); }; -- cgit v1.2.3-70-g09d2