Skip to content

Node.js based forum software built for the modern web

chat/icon component

psychobunny705111a1d98c
diff --git a/public/src/client/footer.js b/public/src/client/footer.js
index 6462e3e39a..4e7c2fa9ee 100644
--- a/public/src/client/footer.js
+++ b/public/src/client/footer.js
@@ -22,7 +22,7 @@ define('forum/footer', ['notifications', 'chat'], function(Notifications, Chat)
return console.warn('Error updating unread count', err);
}
- $('#chat-count')
+ components.get('chat/icon')
.toggleClass('unread-count', count > 0)
.attr('data-content', count > 20 ? '20+' : count);
}