From 705111a1d98c634cbf99398bc51cb250c57bd217 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 24 Mar 2015 12:21:04 -0400 Subject: [PATCH] chat/icon component --- public/src/client/footer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }