Browse Source

fix geolocation

pull/1/head
Friendika 10 years ago
parent
commit
16d2682610
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      view/jot_geotag.tpl

+ 1
- 1
view/jot_geotag.tpl View File

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


Loading…
Cancel
Save