refactor: restore acrylic map UI and collapse mobile discovery tools
This commit is contained in:
@@ -429,9 +429,10 @@
|
||||
// Update notes are available from Settings; first visits stay focused on finding a bike.
|
||||
}
|
||||
|
||||
async function previewLogin() {
|
||||
const button = document.querySelector(".preview-login") || document.getElementById("auth-btn");
|
||||
async function previewLogin(button) {
|
||||
button = button || document.querySelector("[data-preview-demo]") || document.getElementById("auth-btn");
|
||||
await doLogin("demo@preview.local", "preview123", document.getElementById("gate-tip"), button);
|
||||
if (currentUser?.email === "demo@preview.local" && typeof SettingsPages !== "undefined") SettingsPages.close();
|
||||
}
|
||||
async function createPreviewSession() {
|
||||
return AppAPI.run("preview-session", null, async () => {
|
||||
|
||||
Reference in New Issue
Block a user