mirror of
https://github.com/friendica/friendica
synced 2024-12-22 01:47:27 +01:00
8 lines
232 B
Smarty
Executable file
8 lines
232 B
Smarty
Executable file
|
|
if(navigator.geolocation) {
|
|
navigator.geolocation.getCurrentPosition(function(position) {
|
|
$('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
|
|
$('#profile-nolocation-wrapper').show();
|
|
});
|
|
}
|
|
|