better fix for #3040

v1.18.x
Julian Lam 10 years ago
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();
});
}
}
});
return true;
};

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

Loading…
Cancel
Save