]> git.mxchange.org Git - friendica.git/blob - view/smarty3/jot_geotag.tpl
Merge remote-tracking branch 'upstream/master'
[friendica.git] / view / smarty3 / jot_geotag.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6
7         if(navigator.geolocation) {
8                 navigator.geolocation.getCurrentPosition(function(position) {
9                         $('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
10                         $('#profile-nolocation-wrapper').show();
11                 });
12         }
13