diff --git a/script.js b/script.js index 07eb12d..1027b3c 100644 --- a/script.js +++ b/script.js @@ -106,8 +106,9 @@ if (!navigator.geolocation){ }, // Got error - function() { + function(err) { alert("No geolocation position available!"); + console.error(err); }, // Options