moved topic search end to topics.js

This commit is contained in:
barisusakli
2015-06-10 14:16:35 -04:00
parent 2880a77a9f
commit 6d0d74a6e9
2 changed files with 8 additions and 6 deletions

View File

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