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

Inspired by 0e513ff862
This commit is contained in:
Thibaut Girka 2019-02-12 21:16:02 +01:00
parent 0e34e91661
commit e230b176fb

View file

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