@ -61,12 +61,6 @@ $(document).ready(function() {
});
require(['search'], function(search) {
if (search.topicDOM.active && !url.startsWith('topic/')) {
search.topicDOM.end();
}
return true;
};
@ -27,6 +27,14 @@ define('forum/topic', [
events.removeListeners();
if (!data.url.startsWith('topic/')) {
if (search.topicDOM.active) {
Topic.init = function() {