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

This commit is contained in:
psychobunny
2013-10-12 17:43:29 -04:00
parent 2a4b228e19
commit 338acb8fc2

View File

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