possible fix for #1848

v1.18.x
barisusakli 11 years ago
parent 0bb0424998
commit 0ede4abe18

@ -72,7 +72,7 @@ $(document).ready(function() {
if (ajaxify.isTemplateAvailable(tpl_url) && !!!templatesModule.config.force_refresh[tpl_url]) { if (ajaxify.isTemplateAvailable(tpl_url) && !!!templatesModule.config.force_refresh[tpl_url]) {
ajaxify.currentPage = url; ajaxify.currentPage = url;
if (window.history && window.history.pushState) { if (window.history && window.history.pushState && url !== '404') {
window.history[!quiet ? 'pushState' : 'replaceState']({ window.history[!quiet ? 'pushState' : 'replaceState']({
url: url + hash url: url + hash
}, url, RELATIVE_PATH + '/' + url + hash); }, url, RELATIVE_PATH + '/' + url + hash);

Loading…
Cancel
Save