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