From 8caa6b80a09f28018905fe89fea7c335d192e1e2 Mon Sep 17 00:00:00 2001 From: whippyshou Date: Wed, 20 Dec 2023 05:27:46 +0900 Subject: [PATCH] drag Test(2) --- app/javascript/mastodon/components/status.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/javascript/mastodon/components/status.jsx b/app/javascript/mastodon/components/status.jsx index 9674e6a54..4fe8455de 100644 --- a/app/javascript/mastodon/components/status.jsx +++ b/app/javascript/mastodon/components/status.jsx @@ -159,7 +159,7 @@ class Status extends ImmutablePureComponent { e.preventDefault(); } - //this.handleHotkeyOpen(); + this.handleHotkeyOpen(); }; handlePrependAccountClick = e => { @@ -251,11 +251,11 @@ class Status extends ImmutablePureComponent { handleStatusClick = (e) => { - if (e.button === 0 && !(e.ctrlKey || e.metaKey) && this.context.router) { - e.preventDefault(); - this.context.router.history.push(`/@${this.props.status.getIn(['account', 'acct'])}`+`/${this.props.status.get('id')}`) - } - e.stopPropagation(); + // if (e.button === 0 && !(e.ctrlKey || e.metaKey) && this.context.router) { + // e.preventDefault(); + // this.context.router.history.push(`/@${this.props.status.getIn(['account', 'acct'])}`+`/${this.props.status.get('id')}`) + // } + // e.stopPropagation(); }; handleDeployPictureInPicture = (type, mediaProps) => { const { deployPictureInPicture } = this.props;