aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/youtrack/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/youtrack/webview.js')
-rw-r--r--recipes/youtrack/webview.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/youtrack/webview.js b/recipes/youtrack/webview.js
index 286046a..0013bf0 100644
--- a/recipes/youtrack/webview.js
+++ b/recipes/youtrack/webview.js
@@ -1,8 +1,8 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 const getMessages = () => { 2 const getMessages = () => {
3 const unread = document.querySelectorAll('.header__bell-wrapper_unread'); 3 const unread = document.querySelectorAll('.header__bell-wrapper_unread');
4 Ferdi.setBadge(unread.length > 0 ? 1 : 0); 4 Ferdium.setBadge(unread.length > 0 ? 1 : 0);
5 }; 5 };
6 6
7 Ferdi.loop(getMessages); 7 Ferdium.loop(getMessages);
8}; 8};