From 8d44f4010fb1aa1c6123643147841f52ca4a41ed Mon Sep 17 00:00:00 2001 From: Clayton Smith Date: Tue, 3 Dec 2024 16:40:03 -0500 Subject: [PATCH] Invalidate map size when switching to new table page --- auto_rx/autorx/templates/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/auto_rx/autorx/templates/index.html b/auto_rx/autorx/templates/index.html index b9fc525d..8a50995f 100644 --- a/auto_rx/autorx/templates/index.html +++ b/auto_rx/autorx/templates/index.html @@ -740,6 +740,11 @@ } mymap.invalidateSize(); } + + table.on("pageLoaded", function(pageno) { + mymap.invalidateSize(); + }); + // Invalidate map size to fix problems with elements resizing. mymap.invalidateSize();