mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
fix navigator
This commit is contained in:
@@ -138,7 +138,7 @@ define('navigator', ['forum/pagination'], function(pagination) {
|
||||
if ($('li[data-index="' + index + '"]').length) {
|
||||
navigator.scrollToPost(index, true);
|
||||
} else {
|
||||
index = parseInt(index, 10);
|
||||
index = parseInt(index, 10) + 1;
|
||||
ajaxify.go(generateUrl(index));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user