]> cat aescling's git repositories - mastodon.git/commitdiff
Put the label for the hide notifications checkbox in a label element.
authorSurinna Curtis <ekiru.0@gmail.com>
Fri, 1 Sep 2017 01:59:47 +0000 (20:59 -0500)
committerSurinna Curtis <ekiru.0@gmail.com>
Thu, 14 Sep 2017 02:47:30 +0000 (21:47 -0500)
app/javascript/mastodon/features/ui/components/mute_modal.js

index 2f585f292ef3a4be1153c15ab3242120444b321d..ef7c13f0a7631be26da81f637571d586b920a548 100644 (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>
 
This page took 0.024963 seconds and 3 git commands to generate.