Added error logging

master
Keith Irwin 2017-08-07 18:05:41 -04:00
parent 89bf0b6416
commit e0b033ec0f
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
1 changed files with 2 additions and 1 deletions

View File

@ -106,8 +106,9 @@ if (!navigator.geolocation){
},
// Got error
function() {
function(err) {
alert("No geolocation position available!");
console.error(err);
},
// Options