@ -246,6 +246,8 @@ topicsController.get = function(req, res, next) {
topic_url += '?' + queryString;
}
topics.increaseViewCount(tid);
if (!res.locals.isAPI) {
// Paginator for noscript
data.pages = [];
@ -70,7 +70,6 @@ SocketTopics.enter = function(socket, tid, callback) {
SocketTopics.markAsRead(socket, [tid], callback);
websockets.updateRoomBrowsingText('topic_' + tid);
};