try to fix the geo error handling
Ted Unangst tedu@tedunangst.com
Sat, 28 Sep 2019 00:16:43 -0400
1 files changed,
4 insertions(+),
2 deletions(-)
jump to
M
views/honkpage.js
→
views/honkpage.js
@@ -213,8 +213,10 @@ el.value = Math.round(pos.coords.latitude * precision) / precision
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 }) } }