diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-02-12 21:16:02 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-02-12 21:16:02 +0100 |
commit | e230b176fbb8ba9c29e8ed31131bac870b72c3e9 (patch) | |
tree | 6619e1825e86d4b89867d90265527e542432d328 | |
parent | 0e34e91661d47ffbb08121c74c8a2de5266de0c8 (diff) |
[Glitch] Don't focus spoiler input when disabled spoiler
Inspired by 0e513ff862faf7fa9e5b89d2ab7d22fd0ab540ff
-rw-r--r-- | app/javascript/flavours/glitch/features/composer/spoiler/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/composer/spoiler/index.js b/app/javascript/flavours/glitch/features/composer/spoiler/index.js index 1c3c962f0..e2f9c7021 100644 --- a/app/javascript/flavours/glitch/features/composer/spoiler/index.js +++ b/app/javascript/flavours/glitch/features/composer/spoiler/index.js @@ -87,6 +87,7 @@ export default class ComposerSpoiler extends React.PureComponent { type='text' value={text} ref={handleRefSpoilerText} + disabled={hidden} /> </label> </div> |