Skip to content

A platform for community discussion. Free, open, simple.

DEV: Remove redundant `_blank` check in `interceptClick`

Régis Hanol423393cf619a
diff --git a/frontend/discourse/app/lib/intercept-click.js b/frontend/discourse/app/lib/intercept-click.js
index 20f056ad282..b26b0952623 100644
--- a/frontend/discourse/app/lib/intercept-click.js
+++ b/frontend/discourse/app/lib/intercept-click.js
@@ -26,10 +26,6 @@ export default function interceptClick(e) {
return;
}
- if (target.target === "_blank") {
- return;
- }
-
if (wantsNewWindow(e)) {
return;
}