better fix for

v1.18.x
Julian Lam
parent bbccc38efd
commit 5a0ea28633

@ -61,11 +61,11 @@ $(document).ready(function() {
}); });
}); });
if (!quiet) { require(['search'], function(search) {
require(['search'], function(search) { if (search.topicDOM.active && !url.startsWith('topic/')) {
search.topicDOM.end(); search.topicDOM.end();
}); }
} });
return true; return true;
}; };

@ -191,7 +191,7 @@ define('navigator', ['forum/pagination', 'components'], function(pagination, com
} else { } else {
navigator.scrollActive = false; navigator.scrollActive = false;
postIndex = parseInt(postIndex, 10) + 1; postIndex = parseInt(postIndex, 10) + 1;
ajaxify.go(generateUrl(postIndex), undefined, true); ajaxify.go(generateUrl(postIndex));
} }
}; };

Loading…
Cancel
Save