Skip to content

Commit

Permalink
Update Google Maps to SunCalc.org.js
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasleplus committed Apr 17, 2024
1 parent 3e972f5 commit a7de1a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascripts/Google Maps to SunCalc.org.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit a7de1a0

Please sign in to comment.