From df1e2b6c18111c2cdca9d44eed221a65e686ea1c Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Thu, 29 Jul 2021 16:31:54 +0200 Subject: [PATCH] don't ask for location if link has icao or lat / lon --- html/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/html/script.js b/html/script.js index c1edb92..16d200f 100644 --- a/html/script.js +++ b/html/script.js @@ -2263,6 +2263,7 @@ function initMap() { if (window && window.location && window.location.protocol == 'https:' && !SiteOverride && (globeIndex || uuid || askLocation) + && !usp.has('icao') && !usp.has("lat") && !usp.has("lon") && localStorage['geoFindMeFirstVisit'] == undefined) { jQuery("#geoFindMeDialog").dialog({ resizable: false,