This commit is contained in:
barisusakli
2016-01-04 11:22:35 +02:00
parent caabbcf9fd
commit 7ad90b4ef6
5 changed files with 69 additions and 17 deletions

View File

@@ -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) {