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

pull/152/head
Surinna Curtis 2017-08-31 20:59:47 -05:00
parent 0a207be99d
commit 30b5254a5d
1 changed files with 4 additions and 2 deletions

View File

@ -81,8 +81,10 @@ export default class MuteModal extends React.PureComponent {
/>
</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>
</div>