Browse Source

fix geolocation

pull/1/head
Friendika 11 years ago
parent
commit
16d2682610
  1. 2
      view/jot_geotag.tpl

2
view/jot_geotag.tpl

@ -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