v1.18.x
barisusakli 10 years ago
parent 32369f6191
commit c448c8cc8c

@ -78,6 +78,10 @@ $(document).ready(function() {
$(window).trigger('action:ajaxify.start', {url: url});
if (!window.location.pathname.match(/\/(403|404)$/g)) {
app.previousUrl = window.location.href;
}
ajaxify.currentPage = url;
if (window.history && window.history.pushState) {
@ -243,10 +247,6 @@ $(document).ready(function() {
return e.preventDefault();
}
if (!window.location.pathname.match(/\/(403|404)$/g)) {
app.previousUrl = window.location.href;
}
if (!e.ctrlKey && !e.shiftKey && !e.metaKey && e.which === 1) {
if (this.host === '' || this.host === window.location.host) {
// Internal link

Loading…
Cancel
Save