all repos — honk @ 88f585ff98eb51c320b24d3f9415ac215c760288

my fork of honk

try to fix the geo error handling
Ted Unangst tedu@tedunangst.com
Sat, 28 Sep 2019 00:16:43 -0400
commit

88f585ff98eb51c320b24d3f9415ac215c760288

parent

0a3b3d52608fb9abda0651b5353421571102d8d0

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M views/honkpage.jsviews/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 }) } }