diff --git a/public/templates/footer.tpl b/public/templates/footer.tpl index 15b6ce108c..3f905de329 100644 --- a/public/templates/footer.tpl +++ b/public/templates/footer.tpl @@ -107,7 +107,6 @@ } }) socket.on('api:notifications.get', function(data) { - console.log(data); var notifFrag = document.createDocumentFragment(), notifEl = document.createElement('li'), numRead = data.read.length, @@ -138,6 +137,7 @@ if ((counts.unread + counts.read) > 0) notifIcon.className = 'icon-circle active'; else notifIcon.className = 'icon-circle-blank'; }); + socket.emit('api:notifications.counts'); }());