From 7f7f9a6fae580fd5a88c9ee12275f87bfb9f35f5 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 21 Aug 2022 13:54:59 -0400 Subject: [PATCH] EmbeddedStatus: open URL in new tab on click --- app/soapbox/features/embedded-status/index.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/soapbox/features/embedded-status/index.tsx b/app/soapbox/features/embedded-status/index.tsx index 52a4a7b90..6c0e5fd7f 100644 --- a/app/soapbox/features/embedded-status/index.tsx +++ b/app/soapbox/features/embedded-status/index.tsx @@ -45,11 +45,16 @@ const EmbeddedStatus: React.FC = ({ params }) => { }; return ( -
-
+ e.stopPropagation()} + target='_blank' + > +
{renderInner()}
-
+ ); };