Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
232 B

  1. if(navigator.geolocation) {
  2. navigator.geolocation.getCurrentPosition(function(position) {
  3. $('#jot-coord').val(position.coords.latitude + ',' + position.coords.longitude);
  4. $('#profile-nolocation-wrapper').show();
  5. });
  6. }