diff options
Diffstat (limited to 'recipes/hackmd/webview.js')
-rw-r--r-- | recipes/hackmd/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/hackmd/webview.js b/recipes/hackmd/webview.js index 82ce58d..9ccf912 100644 --- a/recipes/hackmd/webview.js +++ b/recipes/hackmd/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 | // get unread messages | 7 | // get unread messages |
8 | const count = document.querySelectorAll('.guilds-wrapper .badge').length; | 8 | const count = document.querySelectorAll('.guilds-wrapper .badge').length; |
9 | 9 | ||