From e85203d78b2ddfc7ef98c036f47ff84c2e08da2e Mon Sep 17 00:00:00 2001 From: Jiri Vlasak Date: Wed, 27 Oct 2021 00:03:35 +0200 Subject: [PATCH] Keep selected type of client --- static/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/index.html b/static/index.html index 990da3d..c59eb0f 100644 --- a/static/index.html +++ b/static/index.html @@ -77,10 +77,13 @@ SOFTWARE. { const sp = new URLSearchParams(window.location.search); if (sp.has("area")) { + SHOW = "area"; return go_to("area", sp.get("area")); } else if (sp.has("panel")) { + SHOW = "panel"; return go_to("panel", sp.get("panel")); } else if (sp.has("mappy")) { + SHOW = "mappy"; return go_to("mappy", sp.get("mappy")); } else if (sp.has("stats")) { if (sp.has("of")) -- 2.34.2