We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a87800d commit 1e0fe1bCopy full SHA for 1e0fe1b
1 file changed
content/wardrive.js
@@ -1058,10 +1058,9 @@ async function performAppLaunchZoneCheck() {
1058
1059
// Center map on checked location
1060
try {
1061
- const iframe = coverageFrame.querySelector("iframe");
1062
- if (iframe && iframe.contentWindow) {
+ if (coverageFrameEl && coverageFrameEl.contentWindow) {
1063
debugLog(`[GEO AUTH] [INIT] Centering map on checked location: ${coords.lat.toFixed(6)}, ${coords.lon.toFixed(6)}`);
1064
- iframe.contentWindow.postMessage({
+ coverageFrameEl.contentWindow.postMessage({
1065
type: "centerMap",
1066
lat: coords.lat,
1067
lon: coords.lon
0 commit comments