summaryrefslogtreecommitdiff
path: root/src/client/components/ui/switch.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/components/ui/switch.vue')
-rw-r--r--src/client/components/ui/switch.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/components/ui/switch.vue b/src/client/components/ui/switch.vue
index 18a2ec33f1..9652a01024 100644
--- a/src/client/components/ui/switch.vue
+++ b/src/client/components/ui/switch.vue
@@ -5,7 +5,7 @@
role="switch"
:aria-checked="checked"
:aria-disabled="disabled"
- @click="toggle"
+ @click.prevent="toggle"
>
<input
type="checkbox"