From b971b1fdbd9b05609c84e45354080362c0927728 Mon Sep 17 00:00:00 2001 From: Victor Hargrave Date: Thu, 29 Feb 2024 14:31:26 +0100 Subject: [PATCH] test without breaking things --- libs/features/georoutingv2/georoutingv2.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/features/georoutingv2/georoutingv2.js b/libs/features/georoutingv2/georoutingv2.js index 726e8282a1..24c217b653 100644 --- a/libs/features/georoutingv2/georoutingv2.js +++ b/libs/features/georoutingv2/georoutingv2.js @@ -53,6 +53,7 @@ const geo2jsonp = (callback) => { script.onerror = () => { delete window[callbackName]; document.body.removeChild(script); + window.lana('geo2jsonp failed'); }; document.body.appendChild(script); @@ -306,7 +307,7 @@ export default async function loadGeoRouting( const urlLocale = locale.prefix.replace('/', ''); const storedInter = getCookie('international'); - const storedLocale = storedInter === 'us' ? '' : storedInter; + const storedLocale = 'us'; const urlGeoData = json.georouting.data.find((d) => d.prefix === urlLocale); if (!urlGeoData) return;