[Glitch] Don't focus spoiler input when disabled spoiler

Inspired by 6866739387
lolsob-rspec
Thibaut Girka 2019-02-12 21:16:02 +01:00
parent de60ff3809
commit 53cc85871d
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ export default class ComposerSpoiler extends React.PureComponent {
type='text'
value={text}
ref={handleRefSpoilerText}
disabled={hidden}
/>
</label>
</div>