1
0
Fork 0
mirror of https://github.com/friendica/friendica synced 2025-02-25 12:38:21 +00:00
friendica-github/view/jot_geotag.tpl

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();
});
}