hide the no topics warning when a new topic is posted on /unread

This commit is contained in:
Baris Soner Usakli
2013-10-28 00:27:18 -04:00
parent afc0e25b26
commit 78a3dd68ea

View File

@@ -45,6 +45,7 @@ define(function() {
text += ' Click here to reload.'; text += ' Click here to reload.';
$('#new-topics-alert').html(text).removeClass('hide').fadeIn('slow'); $('#new-topics-alert').html(text).removeClass('hide').fadeIn('slow');
$('#category-no-topics').addClass('hidden');
} }
socket.on('event:new_post', function(data) { socket.on('event:new_post', function(data) {