|
|
|
@ -114,12 +114,12 @@ export default class Status extends ImmutablePureComponent {
|
|
|
|
|
this.context.router.history.push(`/accounts/${this._properStatus().getIn(['account', 'id'])}`);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
handleHotkeyMoveUp = () => {
|
|
|
|
|
this.props.onMoveUp(this.props.status.get('id'));
|
|
|
|
|
handleHotkeyMoveUp = e => {
|
|
|
|
|
this.props.onMoveUp(this.props.status.get('id'), e.target.getAttribute('data-featured'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
handleHotkeyMoveDown = () => {
|
|
|
|
|
this.props.onMoveDown(this.props.status.get('id'));
|
|
|
|
|
handleHotkeyMoveDown = e => {
|
|
|
|
|
this.props.onMoveDown(this.props.status.get('id'), e.target.getAttribute('data-featured'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
handleHotkeyToggleHidden = () => {
|
|
|
|
@ -233,7 +233,7 @@ export default class Status extends ImmutablePureComponent {
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<HotKeys handlers={handlers}>
|
|
|
|
|
<div className={classNames('status__wrapper', `status__wrapper-${status.get('visibility')}`, { focusable: !this.props.muted })} tabIndex={this.props.muted ? null : 0}>
|
|
|
|
|
<div className={classNames('status__wrapper', `status__wrapper-${status.get('visibility')}`, { focusable: !this.props.muted })} tabIndex={this.props.muted ? null : 0} data-featured={featured ? 'true' : null}>
|
|
|
|
|
{prepend}
|
|
|
|
|
|
|
|
|
|
<div className={classNames('status', `status-${status.get('visibility')}`, { muted: this.props.muted })} data-id={status.get('id')}>
|
|
|
|
|