]> git.mxchange.org Git - friendica.git/blob - jot_geotag.tpl
a9e70d3f8c088f3f2e2517dc84f605fe91c36083
[friendica.git] / jot_geotag.tpl
1
2
3         if(navigator.geolocation) {
4                 navigator.geolocation.getCurrentPosition(function(position) {
5                         $('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
6                         $('#profile-nolocation-wrapper').show();
7                 });
8         }
9