From 3b9888a9d4900371f7f15c9f439f48951d391e9b Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 4 Sep 2023 04:26:58 +0200 Subject: [PATCH] sat_render stays on sat --- earth/sat_render.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/earth/sat_render.html b/earth/sat_render.html index 6e075f2..c67f6cd 100644 --- a/earth/sat_render.html +++ b/earth/sat_render.html @@ -191,7 +191,7 @@ if (deg <= 0.01) { const newNorthEastLon = lon.toFixed(2); // Update URL parameters with the new values - const url = `map_render.html?southWestLat=${newNorthEastLat}&southWestLon=${newNorthEastLon}°=${NSize}`; + const url = `sat_render.html?southWestLat=${newNorthEastLat}&southWestLon=${newNorthEastLon}°=${NSize}`; window.location.href = url; }); @@ -208,7 +208,7 @@ document.getElementById('map-container').addEventListener('click', (event) => { history.back(); // Trigger browser's back functionality } }); - +/////////////////