diff --git a/public/src/forum/footer.js b/public/src/forum/footer.js index 6d6341962e..d38896cce9 100644 --- a/public/src/forum/footer.js +++ b/public/src/forum/footer.js @@ -145,7 +145,6 @@ socket.on('chatMessage', function(data) { - var username = data.username; var fromuid = data.fromuid; var message = data.message; diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js index 5d7ed4226c..3c329ee713 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -316,7 +316,7 @@ 'event:topic_deleted', 'event:topic_restored', 'event:topic:locked', 'event:topic_unlocked', 'event:topic_pinned', 'event:topic_unpinned', 'event:topic_moved', 'event:post_edited', 'event:post_deleted', 'event:post_restored', - 'api:posts.favourite', 'chatMessage' + 'api:posts.favourite' ]); diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js index f633c55d82..7c866fcce4 100644 --- a/public/src/modules/chat.js +++ b/public/src/modules/chat.js @@ -35,7 +35,7 @@ define(['taskbar'], function(taskbar) { taskbar.discard('chat', uuid); }); - chatModal.on('click', function(e){ + chatModal.on('click', function(e) { module.bringModalToTop(chatModal); }); diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl index 397d3a8f59..ea5c412a42 100644 --- a/public/templates/topic.tpl +++ b/public/templates/topic.tpl @@ -60,7 +60,7 @@