mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
closes #2659
This commit is contained in:
@@ -53,6 +53,11 @@ define('forum/topic/threadTools', [
|
||||
return false;
|
||||
});
|
||||
|
||||
topicContainer.on('click', '[component="topic/mark-unread"]', function() {
|
||||
socket.emit('topics.markUnread', tid);
|
||||
return false;
|
||||
});
|
||||
|
||||
topicContainer.on('click', '[component="topic/mark-unread-for-all"]', function() {
|
||||
var btn = $(this);
|
||||
socket.emit('topics.markAsUnreadForAll', [tid], function(err) {
|
||||
|
||||
Reference in New Issue
Block a user