mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
closes #1913
This commit is contained in:
@@ -289,13 +289,12 @@ var ajaxify = ajaxify || {};
|
|||||||
}
|
}
|
||||||
} else if (window.location.pathname !== '/outgoing') {
|
} else if (window.location.pathname !== '/outgoing') {
|
||||||
// External Link
|
// External Link
|
||||||
|
if (config.openOutgoingLinksInNewTab) {
|
||||||
if (config.useOutgoingLinksPage) {
|
|
||||||
ajaxify.go('outgoing?url=' + encodeURIComponent(this.href));
|
|
||||||
e.preventDefault();
|
|
||||||
} else if (config.openOutgoingLinksInNewTab) {
|
|
||||||
window.open(this.href, '_blank');
|
window.open(this.href, '_blank');
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
} else if (config.useOutgoingLinksPage) {
|
||||||
|
ajaxify.go('outgoing?url=' + encodeURIComponent(this.href));
|
||||||
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user