FIX: an `<a>` with a target of _blank wants a new window

FIX: an <a> with a target of _blank wants a new window

diff --git a/app/assets/javascripts/discourse/lib/intercept-click.js.es6 b/app/assets/javascripts/discourse/lib/intercept-click.js.es6
index 1fe9999..31a3c46 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")
   );
 }

GitHub sha: 246997db