mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 15:30:39 +01:00
removed console.log
This commit is contained in:
@@ -522,9 +522,8 @@ define(['forum/pagination', 'forum/topic/threadTools', 'forum/topic/postTools',
|
|||||||
}
|
}
|
||||||
|
|
||||||
Topic.navigatorCallback = function(element) {
|
Topic.navigatorCallback = function(element) {
|
||||||
|
|
||||||
var pid = element.attr('data-pid');
|
var pid = element.attr('data-pid');
|
||||||
console.log('derp', scrollingToPost, pid);
|
|
||||||
var currentBookmark = localStorage.getItem('topic:' + ajaxify.variables.get('topic_id') + ':bookmark');
|
var currentBookmark = localStorage.getItem('topic:' + ajaxify.variables.get('topic_id') + ':bookmark');
|
||||||
|
|
||||||
if (!currentBookmark || parseInt(pid, 10) >= parseInt(currentBookmark, 10)) {
|
if (!currentBookmark || parseInt(pid, 10) >= parseInt(currentBookmark, 10)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user