]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix crashes with Microsoft Translate on Microsoft Edge
authorClaire <claire.github-309c@sitedethib.com>
Fri, 23 Jul 2021 00:53:17 +0000 (02:53 +0200)
committerClaire <claire.github-309c@sitedethib.com>
Sun, 25 Jul 2021 11:04:59 +0000 (13:04 +0200)
Port e9659ae0312d0bf0acf2b55eed5dc688929cae04 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/components/status.js

index 782fd918ee1668e2baf88c5166fbaf942e58bace..d3944b0c3eebe4a90ce7a1c06f776ace3c72e0b6 100644 (file)
@@ -543,9 +543,8 @@ class Status extends ImmutablePureComponent {
       return (
         <HotKeys handlers={handlers}>
           <div ref={this.handleRef} className='status focusable' tabIndex='0'>
-            {status.getIn(['account', 'display_name']) || status.getIn(['account', 'username'])}
-            {' '}
-            {status.get('content')}
+            <span>{status.getIn(['account', 'display_name']) || status.getIn(['account', 'username'])}</span>
+            <span>{status.get('content')}</span>
           </div>
         </HotKeys>
       );