A platform for community discussion. Free, open, simple.
FIX: an `<a>` with a target of _blank wants a new window
Jeff Wong246997dbd918
diff --git a/app/assets/javascripts/discourse/lib/intercept-click.js.es6 b/app/assets/javascripts/discourse/lib/intercept-click.js.es6index 1fe999912fc..31a3c4666d8 100644--- a/app/assets/javascripts/discourse/lib/intercept-click.js.es6+++ b/app/assets/javascripts/discourse/lib/intercept-click.js.es6@@ -6,7 +6,8 @@ export function wantsNewWindow(e) {e.shiftKey ||e.metaKey ||e.ctrlKey ||- (e.button && e.button !== 0)+ (e.button && e.button !== 0) ||+ (e.target && e.target.target === "_blank"));}