Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinMKerr authored Nov 4, 2024
1 parent d8ab9b5 commit d3c0cb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@
.catch(error => console.error('Error:', error));
}, function(error) {
console.error("Error Code = " + error.code + " - " + error.message);
alert("Geolocation access is denied. Please enable location services in your browser settings.");
});
} else {
console.log("Geolocation is not supported by this browser.");
alert("Geolocation is not supported by this browser.");
}
}
</script>
Expand Down

0 comments on commit d3c0cb9

Please sign in to comment.