diff --git a/themes/intotheeast/templates/partials/entry-map.html.twig b/themes/intotheeast/templates/partials/entry-map.html.twig index 57a97df..651c577 100644 --- a/themes/intotheeast/templates/partials/entry-map.html.twig +++ b/themes/intotheeast/templates/partials/entry-map.html.twig @@ -23,12 +23,18 @@ #}
+ {# Same gate as the init script below: without entries the map never + initialises and nothing wires the button's click handler, so on + mobile (the only viewport where it shows) it would float as a dead + control over an empty map area (home pre-departure state). #} + {% if entries|length > 0 %} + {% endif %}