mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-20 14:10:15 +02:00
fixed f5 from in the middle of a big topic
This commit is contained in:
@@ -92,7 +92,7 @@ define('navigator', ['forum/pagination', 'components'], function(pagination, com
|
||||
|
||||
var middleOfViewport = $(window).scrollTop() + $(window).height() / 2;
|
||||
|
||||
index = 0;
|
||||
index = parseInt($(navigator.selector).first().attr('data-index'), 10);
|
||||
|
||||
$(navigator.selector).each(function() {
|
||||
var el = $(this);
|
||||
|
||||
Reference in New Issue
Block a user