mirror of
https://github.com/whippyshou/mastodon
synced 2025-01-22 09:43:45 +09:00
drag Test(2)
This commit is contained in:
parent
a45af0c237
commit
8caa6b80a0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user