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

Inspired by 0e513ff862
pull/914/head
Thibaut Girka 2019-02-12 21:16:02 +01:00
parent 0e34e91661
commit e230b176fb
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>