updated scrollToPost behaviour to no longer ajaxify loudly. Also updated call to checkPagePresence to fire before the topicDOM events begin, so if an in-topic search is conducted on a different topic from the current topic, the topicDOM behaviour continues. closes #3040

This commit is contained in:
Julian Lam
2015-04-19 23:31:45 -04:00
parent 37a7ac5196
commit 821c9f12d6
3 changed files with 21 additions and 18 deletions

View File

@@ -58,10 +58,13 @@ $(document).ready(function() {
require(['translator', 'search'], function(translator, search) {
translator.load(config.defaultLang, data.template.name);
renderTemplate(url, data.template.name, data, callback);
search.topicDOM.end();
});
});
if (!quiet) {
search.topicDOM.end();
}
return true;
};