fix geolocation

This commit is contained in:
Friendika 2011-01-05 02:32:18 -08:00
parent 1b0ddc928d
commit 16d2682610

View file

@ -1,7 +1,7 @@
if(navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {
$('#jot-coord').val(position.coords.latitude + position.coords.longitude);
$('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
$('#profile-nolocation-wrapper').show();
});
}