Hook up label to input for dontShowAgain checkbox (#11455)

Now if the user clicks on the label for the checkbox, it will (un)check
the associated checkbox.
This commit is contained in:
Collin Styles
2019-11-16 08:50:24 -08:00
committed by Matteo Pagliazzi
parent 3fc0fec95e
commit eca1d8501c
@@ -33,8 +33,9 @@
v-model="user.preferences.suppressModals.streak"
type="checkbox"
@change="suppressModals"
id="user-preferences-suppressModals-streak"
>
<label>{{ $t('dontShowAgain') }}</label>
<label for="user-preferences-suppressModals-streak">{{ $t('dontShowAgain') }}</label>
</div>
</div>
</div>