Mercurial > lbo > hg > geohub
changeset 62:45d88bf5d99f
trackme: Remove duplicate call to geolocation api
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Fri, 04 Dec 2020 13:57:09 +0100 |
parents | 1f1e2ce4676c |
children | fa2a46761712 |
files | assets/trackme.html |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/assets/trackme.html Fri Dec 04 11:18:48 2020 +0100 +++ b/assets/trackme.html Fri Dec 04 13:57:09 2020 +0100 @@ -123,7 +123,6 @@ function startLogging() { var geo = navigator.geolocation; - geo.getCurrentPosition(locationUpdate); var watchId = geo.watchPosition(locationUpdate); document.getElementById('uiStartButton').value = 'Stop logging!';