diff options
Diffstat (limited to 'recipes/fleep/webview.js')
-rw-r--r-- | recipes/fleep/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/fleep/webview.js b/recipes/fleep/webview.js index e760af8..85b5365 100644 --- a/recipes/fleep/webview.js +++ b/recipes/fleep/webview.js | |||
@@ -3,7 +3,7 @@ const _path = _interopRequireDefault(require('path')); | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | 3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
4 | 4 | ||
5 | module.exports = Ferdi => { | 5 | module.exports = Ferdi => { |
6 | const getMessages = function getMessages() { | 6 | const getMessages = () => { |
7 | // Count number of conversations or teams with unread messages | 7 | // Count number of conversations or teams with unread messages |
8 | const count = document.querySelectorAll('.unread-count').length; | 8 | const count = document.querySelectorAll('.unread-count').length; |
9 | Ferdi.setBadge(count, 0); | 9 | Ferdi.setBadge(count, 0); |