diff options
Diffstat (limited to 'app/javascript/mastodon/components/setting_text.js')
-rw-r--r-- | app/javascript/mastodon/components/setting_text.js | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/app/javascript/mastodon/components/setting_text.js b/app/javascript/mastodon/components/setting_text.js index dd975bc99..a6dde4c0f 100644 --- a/app/javascript/mastodon/components/setting_text.js +++ b/app/javascript/mastodon/components/setting_text.js @@ -19,12 +19,15 @@ export default class SettingText extends React.PureComponent { const { settings, settingKey, label } = this.props; return ( - <input - className='setting-text' - value={settings.getIn(settingKey)} - onChange={this.handleChange} - placeholder={label} - /> + <label> + <span style={{ display: 'none' }}>{label}</span> + <input + className='setting-text' + value={settings.getIn(settingKey)} + onChange={this.handleChange} + placeholder={label} + /> + </label> ); } |