From e332d1074f1b663ec66d37b0f575df2e41d5535c Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 1 May 2017 21:10:04 -0700 Subject: move theme specific files to theme dir --- view/theme/redbasic/tpl/jot_geotag.tpl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 view/theme/redbasic/tpl/jot_geotag.tpl (limited to 'view/theme/redbasic/tpl/jot_geotag.tpl') diff --git a/view/theme/redbasic/tpl/jot_geotag.tpl b/view/theme/redbasic/tpl/jot_geotag.tpl new file mode 100755 index 000000000..60f128850 --- /dev/null +++ b/view/theme/redbasic/tpl/jot_geotag.tpl @@ -0,0 +1,7 @@ + if(navigator.geolocation) { + navigator.geolocation.getCurrentPosition(function(position) { + $('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude); + $('#profile-nolocation-wrapper').attr('disabled', false); + }); + } + -- cgit v1.2.3