]> git.mxchange.org Git - friendica.git/blob - view/smarty3/jot_geotag.tpl
196ede81d7a8e9a70027e8a08416ef66bd84dfc7
[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         if(navigator.geolocation) {
7                 navigator.geolocation.getCurrentPosition(function(position) {
8                         $('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
9                         $('#profile-nolocation-wrapper').show();
10                 });
11         }
12