From 5e28fb15c9dcae4edc2b107792adbe35e32efa45 Mon Sep 17 00:00:00 2001 From: you Date: Sun, 22 Mar 2026 01:10:32 +0000 Subject: [PATCH] Fix time window: remove label, self-descriptive options, restore saved value before first load --- public/index.html | 2 +- public/packets.js | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/public/index.html b/public/index.html index 5155d718..61f929a9 100644 --- a/public/index.html +++ b/public/index.html @@ -84,7 +84,7 @@ - + diff --git a/public/packets.js b/public/packets.js index 53ad7b5c..45fa8358 100644 --- a/public/packets.js +++ b/public/packets.js @@ -175,6 +175,10 @@ `; initPanelResize(); await loadObservers(); + // Restore saved time window before first load + const fTW = document.getElementById('fTimeWindow'); + const savedTW = localStorage.getItem('meshcore-time-window'); + if (savedTW !== null && fTW) fTW.value = savedTW; loadPackets(); // Auto-select packet detail when arriving via hash URL @@ -477,16 +481,15 @@
-