v1.18.x
barisusakli 11 years ago
parent e420ee5fb6
commit 214f6af324

@ -153,7 +153,7 @@ define('forum/topic', dependencies, function(pagination, infinitescroll, threadT
function onNewNotification(data) {
var tid = ajaxify.variables.get('topic_id');
if (data && data.tid && parseInt(data.tid, 10) === tid) {
if (data && data.tid && parseInt(data.tid, 10) === parseInt(tid, 10)) {
socket.emit('topics.markTopicNotificationsRead', tid);
}
}

Loading…
Cancel
Save