summaryrefslogtreecommitdiff
path: root/web/kvm/navbar.pug
diff options
context:
space:
mode:
Diffstat (limited to 'web/kvm/navbar.pug')
-rw-r--r--web/kvm/navbar.pug2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/kvm/navbar.pug b/web/kvm/navbar.pug
index 47097bb0..381fc067 100644
--- a/web/kvm/navbar.pug
+++ b/web/kvm/navbar.pug
@@ -17,7 +17,7 @@ mixin menu_switch_notable_gpio(channel, title, confirm_off="")
td !{title}:
td(align="right")
div(class="switch-box")
- input(disabled type="checkbox" class="gpio-switch-${channel} gpio-switch"
+ input(disabled type="checkbox" id=`gpio-switch-${channel}` class=`gpio-switch-${channel} gpio-switch`
data-channel=channel data-confirm-off=confirm_off)
label(for=`gpio-switch-${channel}`)
span(class="switch-inner")