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 @@