closes #4826, modifying ajaxify so it does not override links with target set explicitly

v1.18.x
Julian Lam 9 years ago
parent f060c7a378
commit f593d925ae

@ -57,8 +57,8 @@
"nodebb-plugin-spam-be-gone": "0.4.9",
"nodebb-rewards-essentials": "0.0.9",
"nodebb-theme-lavender": "3.0.13",
"nodebb-theme-persona": "4.1.14",
"nodebb-theme-vanilla": "5.1.5",
"nodebb-theme-persona": "4.1.15",
"nodebb-theme-vanilla": "5.1.6",
"nodebb-widget-essentials": "2.0.10",
"nodemailer": "2.0.0",
"nodemailer-sendmail-transport": "1.0.0",

@ -307,7 +307,7 @@ $(document).ready(function() {
e.preventDefault();
}
}
} else if (window.location.pathname !== '/outgoing') {
} else if (!this.target && window.location.pathname !== '/outgoing') {
if (config.openOutgoingLinksInNewTab) {
window.open(this.href, '_blank');
e.preventDefault();

Loading…
Cancel
Save