mirror of
https://github.com/friendica/friendica
synced 2024-09-29 02:03:19 +02:00
9 lines
232 B
Smarty
9 lines
232 B
Smarty
|
|
if(navigator.geolocation) {
|
|
navigator.geolocation.getCurrentPosition(function(position) {
|
|
$('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
|
|
$('#profile-nolocation-wrapper').show();
|
|
});
|
|
}
|
|
|