fix geolocation
This commit is contained in:
parent
1b0ddc928d
commit
16d2682610
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
if(navigator.geolocation) {
|
if(navigator.geolocation) {
|
||||||
navigator.geolocation.getCurrentPosition(function(position) {
|
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();
|
$('#profile-nolocation-wrapper').show();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue