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 = document.getElementById("placelonginput")
|
||||||
el.value = Math.round(pos.coords.longitude * precision) / precision
|
el.value = Math.round(pos.coords.longitude * precision) / precision
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
var el = document.getElementById("placenamenput")
|
var el = document.getElementById("placedescriptor")
|
||||||
el.innerHTML = err.message
|
el.style.display = "block"
|
||||||
|
el = document.getElementById("placenameinput")
|
||||||
|
el.value = err.message
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue