diff --git a/ui/src/components/Calendar.vue b/ui/src/components/Calendar.vue index e9c30a5..8af0c64 100644 --- a/ui/src/components/Calendar.vue +++ b/ui/src/components/Calendar.vue @@ -68,7 +68,7 @@ export default class extends Vue { public readonly doors!: Door[]; private readonly idle_caption = "Finde die Türchen auf dem Adventskalender!"; - public show_doors = false; + public show_doors = window.matchMedia("(any-hover: none)").matches; private multi_modal?: MultiModal; public figure_caption = this.idle_caption; public next_door: number | null = null; diff --git a/ui/src/components/MultiModal.vue b/ui/src/components/MultiModal.vue index bbdb275..e8eeda1 100644 --- a/ui/src/components/MultiModal.vue +++ b/ui/src/components/MultiModal.vue @@ -2,7 +2,7 @@