fix geolocation
This commit is contained in:
parent
1b0ddc928d
commit
16d2682610
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user