Fixed tabs/spaces

master
Keith Irwin 2019-02-21 20:15:24 -05:00
parent 5a7273998d
commit 1b41bc1d4e
No known key found for this signature in database
GPG Key ID: 7A2D6993A44010AA
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if (!'geolocation' in navigator) {
const WID = navigator.geolocation.watchPosition( function (loc) {
// got speed
if (loc.coords.speed) {
console.log('Got speed:',loc.coords.speed)
console.log('Got speed:',loc.coords.speed)
// convert to mph and display
speedDiv.innerHTML = (2.23693629205*loc.coords.speed).toFixed(1)
} else {