Auto-open panel on mobile when no route is loaded

Shows the form immediately instead of an empty world map.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Edward Betts 2026-02-28 11:06:37 +00:00
parent ceea5706b3
commit 13beaf21ed

View file

@ -535,4 +535,6 @@ window.addEventListener('popstate', () => {
if (RELATION_ID) { if (RELATION_ID) {
loadRoute(RELATION_ID); loadRoute(RELATION_ID);
} else if (isMobile()) {
openPanel();
} }