aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nextcloud-calendar/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nextcloud-calendar/webview.js')
-rw-r--r--recipes/nextcloud-calendar/webview.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/nextcloud-calendar/webview.js b/recipes/nextcloud-calendar/webview.js
index 2d932c0..84c55f2 100644
--- a/recipes/nextcloud-calendar/webview.js
+++ b/recipes/nextcloud-calendar/webview.js
@@ -2,16 +2,16 @@ const _path = _interopRequireDefault(require('path'));
2 2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4 4
5module.exports = Ferdi => { 5module.exports = Ferdium => {
6 const getMessages = () => { 6 const getMessages = () => {
7 const direct = document.querySelectorAll( 7 const direct = document.querySelectorAll(
8 '.notifications .notification-wrapper .notification[object_type="dav"]', 8 '.notifications .notification-wrapper .notification[object_type="dav"]',
9 ).length; 9 ).length;
10 10
11 Ferdi.setBadge(direct); 11 Ferdium.setBadge(direct);
12 }; 12 };
13 13
14 Ferdi.loop(getMessages); 14 Ferdium.loop(getMessages);
15 15
16 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); 16 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
17}; 17};