aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/smarty3/jot_geotag.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/smarty3/jot_geotag.tpl')
-rw-r--r--view/tpl/smarty3/jot_geotag.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/smarty3/jot_geotag.tpl b/view/tpl/smarty3/jot_geotag.tpl
index 196ede81d..1ed2367aa 100644
--- a/view/tpl/smarty3/jot_geotag.tpl
+++ b/view/tpl/smarty3/jot_geotag.tpl
@@ -3,6 +3,7 @@
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
*
*}}
+
if(navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(position) {
$('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);