1
0
mirror of https://github.com/whippyshou/mastodon synced 2025-01-22 09:43:45 +09:00

drag Test(2)

This commit is contained in:
whippyshou 2023-12-20 05:27:46 +09:00
parent a45af0c237
commit 8caa6b80a0

View File

@ -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;