sforkowany z mirror/friendica
9 wiersze
232 B
Smarty
9 wiersze
232 B
Smarty
![]() |
|
||
|
if(navigator.geolocation) {
|
||
|
navigator.geolocation.getCurrentPosition(function(position) {
|
||
|
$('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
|
||
|
$('#profile-nolocation-wrapper').show();
|
||
|
});
|
||
|
}
|
||
|
|