Skip to content

Commit

Permalink
fix lat/lon testsuite error. found by faruk.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Sep 1, 2011
1 parent 3b721d0 commit ff1e037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/caniuse.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
btn.onclick = function() {
var feat = document.getElementById('geolocation2');
navigator.geolocation.getCurrentPosition(function(pos) {
feat.innerHTML = '<p>Result:<br>LAT: ' + pos.coords.latitude + '<br>LON: ' + pos.coords.latitude + '</p>';
feat.innerHTML = '<p>Result:<br>LAT: ' + pos.coords.latitude + '<br>LON: ' + pos.coords.longitude + '</p>';
}, function(error) {
feat.innerHTML = '<p>Error:' + error.message + '</p>';
});
Expand Down

0 comments on commit ff1e037

Please sign in to comment.