diff --git a/public/src/forum/recent.js b/public/src/forum/recent.js
index 8186a69e59..50e53792a9 100644
--- a/public/src/forum/recent.js
+++ b/public/src/forum/recent.js
@@ -34,7 +34,7 @@ define(function() {
});
$('#new-topics-alert').on('click', function() {
- $(this).hide();
+ $(this).addClass('hide');
});
socket.on('event:new_topic', function(data) {
@@ -77,7 +77,7 @@ define(function() {
text += ' Click here to reload.';
- $('#new-topics-alert').html(text).fadeIn('slow');
+ $('#new-topics-alert').html(text).removeClass('hide').fadeIn('slow');
}
Recent.onTopicsLoaded = function(topics) {
diff --git a/public/src/forum/unread.js b/public/src/forum/unread.js
index 329cfff3ff..13a940a91f 100644
--- a/public/src/forum/unread.js
+++ b/public/src/forum/unread.js
@@ -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) {
diff --git a/public/templates/recent.tpl b/public/templates/recent.tpl
index 80c6904401..97a2c062dc 100644
--- a/public/templates/recent.tpl
+++ b/public/templates/recent.tpl
@@ -13,7 +13,7 @@
-
+