v1.18.x
barisusakli 11 years ago
parent 3ff91b8c50
commit e0be4d146f

@ -289,13 +289,12 @@ var ajaxify = ajaxify || {};
}
} else if (window.location.pathname !== '/outgoing') {
// External Link
if (config.useOutgoingLinksPage) {
ajaxify.go('outgoing?url=' + encodeURIComponent(this.href));
e.preventDefault();
} else if (config.openOutgoingLinksInNewTab) {
if (config.openOutgoingLinksInNewTab) {
window.open(this.href, '_blank');
e.preventDefault();
} else if (config.useOutgoingLinksPage) {
ajaxify.go('outgoing?url=' + encodeURIComponent(this.href));
e.preventDefault();
}
}
}

Loading…
Cancel
Save