|
|
|
@ -67,9 +67,8 @@ var ajaxify = {};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (templates.is_available(tpl_url) && !templates.force_refresh(tpl_url)) {
|
|
|
|
|
//if (quiet !== true) {
|
|
|
|
|
if (window.history && window.history.pushState) {
|
|
|
|
|
window.history.pushState({
|
|
|
|
|
window.history[!quiet ? 'pushState' : 'replaceState']({
|
|
|
|
|
url: url
|
|
|
|
|
}, url, RELATIVE_PATH + '/' + url);
|
|
|
|
|
|
|
|
|
@ -86,7 +85,6 @@ var ajaxify = {};
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
translator.load(tpl_url);
|
|
|
|
|
|
|
|
|
@ -114,7 +112,7 @@ var ajaxify = {};
|
|
|
|
|
|
|
|
|
|
if (hash) {
|
|
|
|
|
require(['forum/topic'], function(topic) {
|
|
|
|
|
topic.scrollToPost(hash.substr(1))
|
|
|
|
|
topic.scrollToPost(hash.substr(1));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|