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

This commit is contained in:
Surinna Curtis 2017-08-31 20:59:47 -05:00
parent 0a207be99d
commit 30b5254a5d

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>