diff --git a/public/templates/footer.tpl b/public/templates/footer.tpl index dd3de05b00..287212a0e9 100644 --- a/public/templates/footer.tpl +++ b/public/templates/footer.tpl @@ -44,7 +44,7 @@ active_record.innerHTML = "most users ever online was " + data.record + " on " + (new Date(parseInt(data.timestamp,10))).toUTCString() + ""; }); socket.emit('api:user.get', { fields: ['username', 'picture'] }); - socket.on('api:user.get', function(data) { + socket.once('api:user.get', function(data) { if (data.uid > 0) { var gravatar = document.createElement('img'), name = document.createElement('span')