diff options
author | Surinna Curtis <ekiru.0@gmail.com> | 2017-08-31 20:59:47 -0500 |
---|---|---|
committer | Surinna Curtis <ekiru.0@gmail.com> | 2017-09-13 21:47:30 -0500 |
commit | 30b5254a5dec0d18cb8c18e0ce48a57fea560f4b (patch) | |
tree | e6a959b5ab4f146b3f3d4b5f1718ff1cae020d76 /app/javascript | |
parent | 0a207be99d9fd9574099c92a38022719c2ece713 (diff) |
Put the label for the hide notifications checkbox in a label element.
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/features/ui/components/mute_modal.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/ui/components/mute_modal.js b/app/javascript/mastodon/features/ui/components/mute_modal.js index 2f585f292..ef7c13f0a 100644 --- a/app/javascript/mastodon/features/ui/components/mute_modal.js +++ b/app/javascript/mastodon/features/ui/components/mute_modal.js @@ -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> |