added a way to disable ajaxify on links manually if needed.

v1.18.x
psychobunny 11 years ago
parent 2a4b228e19
commit 338acb8fc2

@ -120,6 +120,10 @@ var ajaxify = {};
if(!window.location.pathname.match(/\/(403|404)$/g)) if(!window.location.pathname.match(/\/(403|404)$/g))
app.previousUrl = window.location.href; app.previousUrl = window.location.href;
if (this.getAttribute('data-ajaxify') == 'false') {
return;
}
if (!e.ctrlKey && e.which === 1) { if (!e.ctrlKey && e.which === 1) {
if (this.host === window.location.host) { if (this.host === window.location.host) {
// Internal link // Internal link

Loading…
Cancel
Save