aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hipchat/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/hipchat/webview.js')
-rw-r--r--recipes/hipchat/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/hipchat/webview.js b/recipes/hipchat/webview.js
index c201f00..8748926 100644
--- a/recipes/hipchat/webview.js
+++ b/recipes/hipchat/webview.js
@@ -1,5 +1,5 @@
1module.exports = Ferdi => { 1module.exports = Ferdi => {
2 const getMessages = function getMessages() { 2 const getMessages = () => {
3 const directMessages = document.querySelectorAll('.hc-mention').length; 3 const directMessages = document.querySelectorAll('.hc-mention').length;
4 const allMessages = document.querySelectorAll('.aui-badge:not(.hc-mention)').length - directMessages; 4 const allMessages = document.querySelectorAll('.aui-badge:not(.hc-mention)').length - directMessages;
5 5