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:
parent
ceea5706b3
commit
13beaf21ed
1 changed files with 2 additions and 0 deletions
|
|
@ -535,4 +535,6 @@ window.addEventListener('popstate', () => {
|
||||||
|
|
||||||
if (RELATION_ID) {
|
if (RELATION_ID) {
|
||||||
loadRoute(RELATION_ID);
|
loadRoute(RELATION_ID);
|
||||||
|
} else if (isMobile()) {
|
||||||
|
openPanel();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue