From 24d35996907ffcdf393f9938589eedced84353e4 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 15 May 2025 20:29:43 +0200 Subject: [PATCH] Fix middle button mouse up on status header always opening status in a new tab (#34700) --- app/javascript/mastodon/components/status.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/javascript/mastodon/components/status.jsx b/app/javascript/mastodon/components/status.jsx index 21d596a58c..820b24cd6f 100644 --- a/app/javascript/mastodon/components/status.jsx +++ b/app/javascript/mastodon/components/status.jsx @@ -175,9 +175,8 @@ class Status extends ImmutablePureComponent { } }; - handleMouseUp = e => { + handleHeaderClick = e => { // Only handle clicks on the empty space above the content - if (e.target !== e.currentTarget && e.detail >= 1) { return; } @@ -547,7 +546,7 @@ class Status extends ImmutablePureComponent {
{(connectReply || connectUp || connectToRoot) &&
} -
+
{status.get('edited_at') && *}