From 57dd44a8718baf8a71a7704fdb33c39046e79129 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Fri, 4 Apr 2014 16:20:13 -0400 Subject: [PATCH] removed console.log --- public/src/forum/topic.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js index 471967494b..6df80606ea 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -522,9 +522,8 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools', } Topic.navigatorCallback = function(element) { - var pid = element.attr('data-pid'); - console.log('derp', scrollingToPost, pid); + var currentBookmark = localStorage.getItem('topic:' + ajaxify.variables.get('topic_id') + ':bookmark'); if (!currentBookmark || parseInt(pid, 10) >= parseInt(currentBookmark, 10)) {