summaryrefslogtreecommitdiff
path: root/src/web/app/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common')
-rw-r--r--src/web/app/common/views/components/switch.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/app/common/views/components/switch.vue b/src/web/app/common/views/components/switch.vue
index cfc2f38e2d..19a4adc3de 100644
--- a/src/web/app/common/views/components/switch.vue
+++ b/src/web/app/common/views/components/switch.vue
@@ -56,6 +56,7 @@ export default Vue.extend({
},
watch: {
value() {
+ (this.$el).style.transition = 'all 0.3s';
(this.$refs.input as any).checked = this.checked;
}
},