feat(web/atward): make checkbox label clickable

Change-Id: I147f1f2eee4f6b8f7ecea1b341d192477182d61c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3116
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
sterni 2021-05-12 16:52:11 +02:00
parent c92f4ceacc
commit 1da235518a

View file

@ -43,8 +43,9 @@ depot.web.tvl.template {
<form class="cheddar-callout cheddar-todo"> <form class="cheddar-callout cheddar-todo">
<input type="checkbox" <input type="checkbox"
id="cs-setting" id="cs-setting"
onchange="saveSetting(this, 'cs');" name="cs-setting"
> Use Sourcegraph instead of cgit</input> onchange="saveSetting(this, 'cs');">
<label for="cs-setting">Use Sourcegraph instead of cgit</label>
</form> </form>
<noscript> <noscript>