mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-20 05:44:01 +00:00
Do not handle clicks in detailed status content
This commit is contained in:
parent
3f5acc1ab3
commit
14bad3f472
|
@ -91,9 +91,9 @@ export default class StatusContent extends React.PureComponent {
|
|||
}
|
||||
|
||||
handleMouseUp = (e) => {
|
||||
const { parseClick } = this.props;
|
||||
const { parseClick, disabled } = this.props;
|
||||
|
||||
if (!this.startXY) {
|
||||
if (disabled || !this.startXY) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -228,6 +228,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
|||
onExpandedToggle={onToggleHidden}
|
||||
parseClick={this.parseClick}
|
||||
onUpdate={this.handleChildUpdate}
|
||||
disabled
|
||||
/>
|
||||
|
||||
<div className='detailed-status__meta'>
|
||||
|
|
Loading…
Reference in a new issue