mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-05 14:33:05 -05:00
[Glitch] Fix crashes with Microsoft Translate on Microsoft Edge
Port e9659ae0312d0bf0acf2b55eed5dc688929cae04 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
34a573ac27
commit
2f6ff14198
@ -543,9 +543,8 @@ class Status extends ImmutablePureComponent {
|
|||||||
return (
|
return (
|
||||||
<HotKeys handlers={handlers}>
|
<HotKeys handlers={handlers}>
|
||||||
<div ref={this.handleRef} className='status focusable' tabIndex='0'>
|
<div ref={this.handleRef} className='status focusable' tabIndex='0'>
|
||||||
{status.getIn(['account', 'display_name']) || status.getIn(['account', 'username'])}
|
<span>{status.getIn(['account', 'display_name']) || status.getIn(['account', 'username'])}</span>
|
||||||
{' '}
|
<span>{status.get('content')}</span>
|
||||||
{status.get('content')}
|
|
||||||
</div>
|
</div>
|
||||||
</HotKeys>
|
</HotKeys>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user