From a7de1a08f5b9cbb37e922b1da3b30cbf91fe8869 Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Wed, 17 Apr 2024 08:26:05 -0300 Subject: [PATCH] Update Google Maps to SunCalc.org.js --- javascripts/Google Maps to SunCalc.org.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascripts/Google Maps to SunCalc.org.js b/javascripts/Google Maps to SunCalc.org.js index 0219cf0..0e84b38 100644 --- a/javascripts/Google Maps to SunCalc.org.js +++ b/javascripts/Google Maps to SunCalc.org.js @@ -1,7 +1,7 @@ "use strict"; -var coordinates; var pieces = location.href.split('/'); -for (let i = 0; i < pieces.length; i++) { +var coordinates; +for (i = 0; i < pieces.length; i++) { if (pieces[i].startsWith('@')) { coordinates = pieces[i].substring(1); break;