about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-07-23 02:53:17 +0200
committerClaire <claire.github-309c@sitedethib.com>2021-07-25 13:04:59 +0200
commit2f6ff141984e7df12f7bcc64b2c8754542151a70 (patch)
tree1edfdc513b197699b5e7cae76d8c4871d5019788
parent34a573ac27fe9d5fb324d8910759cd2233911646 (diff)
[Glitch] Fix crashes with Microsoft Translate on Microsoft Edge
Port e9659ae0312d0bf0acf2b55eed5dc688929cae04 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
-rw-r--r--app/javascript/flavours/glitch/components/status.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js
index 782fd918e..d3944b0c3 100644
--- a/app/javascript/flavours/glitch/components/status.js
+++ b/app/javascript/flavours/glitch/components/status.js
@@ -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>
       );