Skip to content

Node.js based forum software built for the modern web

fixed f5 from in the middle of a big topic

psychobunny4c4d560f64e3
diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js
index 174e4838c1..78d17af053 100644
--- a/public/src/modules/navigator.js
+++ b/public/src/modules/navigator.js
@@ -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);