Browse Source

Display reply indicator even when replying to contentless toot (fixes #564)

closed-social-glitch-2
Thibaut Girka 5 years ago
committed by ThibG
parent
commit
612b00d1bb
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/javascript/flavours/glitch/features/composer/index.js

+ 2
- 2
app/javascript/flavours/glitch/features/composer/index.js View File

@ -314,14 +314,14 @@ class Composer extends React.Component {
{privacy === 'direct' ? <ComposerDirectWarning /> : null}
{privacy === 'private' && amUnlocked ? <ComposerWarning /> : null}
{privacy !== 'public' && APPROX_HASHTAG_RE.test(text) ? <ComposerHashtagWarning /> : null}
{replyContent ? (
{replyContent !== null && (
<ComposerReply
account={replyAccount}
content={replyContent}
intl={intl}
onCancel={onCancelReply}
/>
) : null}
)}
<ComposerTextarea
advancedOptions={advancedOptions}
autoFocus={!showSearch && !isMobile(window.innerWidth, layout)}

Loading…
Cancel
Save