mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
closes #4101
This commit is contained in:
@@ -54,7 +54,12 @@ define('forum/topic/threadTools', [
|
||||
});
|
||||
|
||||
topicContainer.on('click', '[component="topic/mark-unread"]', function() {
|
||||
socket.emit('topics.markUnread', tid);
|
||||
socket.emit('topics.markUnread', tid, function(err) {
|
||||
if (err) {
|
||||
return app.alertError(err);
|
||||
}
|
||||
app.alertSuccess('[[topic:mark_unread.success]]');
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user