Browse Source

Put the label for the hide notifications checkbox in a label element.

closed-social-glitch-2
Surinna Curtis 7 years ago
parent
commit
30b5254a5d
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      app/javascript/mastodon/features/ui/components/mute_modal.js

+ 4
- 2
app/javascript/mastodon/features/ui/components/mute_modal.js View File

@ -81,8 +81,10 @@ export default class MuteModal extends React.PureComponent {
/> />
</p> </p>
<p> <p>
<FormattedMessage id='mute_modal.hide_notifications' defaultMessage='Hide notifications from this user?' />
<input type='checkbox' checked={notifications} onChange={this.toggleNotifications} />
<label>
<FormattedMessage id='mute_modal.hide_notifications' defaultMessage='Hide notifications from this user?' />
<input type='checkbox' checked={notifications} onChange={this.toggleNotifications} />
</label>
</p> </p>
</div> </div>

Loading…
Cancel
Save