fix previousUrl being set to current url

v1.18.x
barisusakli 9 years ago
parent ded69e8373
commit 0e92880dd4

@ -61,12 +61,12 @@ $(document).ready(function() {
apiXHR.abort();
}
url = ajaxify.start(url, quiet);
if (!window.location.pathname.match(/\/(403|404)$/g)) {
app.previousUrl = window.location.href;
}
url = ajaxify.start(url, quiet);
$('body').removeClass(ajaxify.data.bodyClass);
$('#footer, #content').removeClass('hide').addClass('ajaxifying');

Loading…
Cancel
Save