From 94fcea0e995ed19fdbce25f0916422d2f6028f20 Mon Sep 17 00:00:00 2001 From: Smittix Date: Fri, 30 Jan 2026 09:52:49 +0000 Subject: [PATCH] fix: Hide welcome overlay when mode URL param is present - Skip welcome screen when navigating with ?mode=X parameter - Fixes nav from dashboards to panel modes (e.g., APRS, WiFi) Co-Authored-By: Claude Opus 4.5 --- templates/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/index.html b/templates/index.html index 6f97ed2..3f08e06 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2428,6 +2428,11 @@ // Valid modes that can be switched to const validModes = ['pager', 'sensor', 'rtlamr', 'satellite', 'sstv', 'wifi', 'bluetooth', 'listening', 'aprs', 'tscm', 'spystations', 'meshtastic']; if (validModes.includes(modeParam)) { + // Hide welcome overlay if present (skip the welcome screen) + const welcomePage = document.getElementById('welcomePage'); + if (welcomePage) { + welcomePage.style.display = 'none'; + } switchMode(modeParam); } }