diff options
Diffstat (limited to 'recipes/youtrack/webview.js')
-rw-r--r-- | recipes/youtrack/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/youtrack/webview.js b/recipes/youtrack/webview.js index 071b300..286046a 100644 --- a/recipes/youtrack/webview.js +++ b/recipes/youtrack/webview.js | |||
@@ -1,5 +1,5 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
2 | const getMessages = function 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 | Ferdi.setBadge(unread.length > 0 ? 1 : 0); |
5 | }; | 5 | }; |