mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
hide the no topics warning when a new topic is posted on /unread
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user