Node.js based forum software built for the modern web
dont get chat icon twice
Barış Soner Uşaklıab4fc0e3b07b
diff --git a/public/src/client/header/chat.js b/public/src/client/header/chat.jsindex d91a9a95bb..8139579a00 100644--- a/public/src/client/header/chat.js+++ b/public/src/client/header/chat.js@@ -48,8 +48,7 @@ define('forum/header/chat', [.toggleClass('fa-comment-o', count <= 0);const countText = count > 99 ? '99+' : count;- components.get('chat/icon')- .toggleClass('unread-count', count > 0)+ chatIcon.toggleClass('unread-count', count > 0).attr('data-content', countText);components.get('chat/count').toggleClass('hidden', count <= 0).text(countText);hooks.fire('action:chat.updateCount', { count });