try to fix the geo error handling
This commit is contained in:
parent
2cfa3a71e2
commit
a172d9c91e
|
@ -213,8 +213,10 @@ function fillcheckin() {
|
|||
el = document.getElementById("placelonginput")
|
||||
el.value = Math.round(pos.coords.longitude * precision) / precision
|
||||
}, function(err) {
|
||||
var el = document.getElementById("placenamenput")
|
||||
el.innerHTML = err.message
|
||||
var el = document.getElementById("placedescriptor")
|
||||
el.style.display = "block"
|
||||
el = document.getElementById("placenameinput")
|
||||
el.value = err.message
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue