fixed unread and recent new post/topic notifications

This commit is contained in:
Baris Usakli
2013-10-25 11:05:06 -04:00
parent 27f421587e
commit 04ee1d137d
4 changed files with 9 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ define(function() {
newPostCount = 0;
$('#new-topics-alert').on('click', function() {
$(this).hide();
$(this).addClass('hide');
});
socket.on('event:new_topic', function(data) {
@@ -44,7 +44,7 @@ define(function() {
text += ' Click here to reload.';
$('#new-topics-alert').html(text).fadeIn('slow');
$('#new-topics-alert').html(text).removeClass('hide').fadeIn('slow');
}
socket.on('event:new_post', function(data) {