mirror of
https://github.com/friendica/friendica
synced 2024-11-14 07:42:55 +00:00
8 lines
226 B
Smarty
8 lines
226 B
Smarty
|
|
if(navigator.geolocation) {
|
|
navigator.geolocation.getCurrentPosition(function(position) {
|
|
$('#jot-coord').val(position.coords.latitude + position.coords.longitude);
|
|
$('#profile-nolocation-wrapper').show();
|
|
});
|
|
}
|
|
|