From cc365513edc0ea7829e44a7854a47f3fcf8a17d1 Mon Sep 17 00:00:00 2001 From: marijus Date: Tue, 9 Dec 2014 15:22:53 +0100 Subject: adjustment to clear browser location button only if use browser location option is set --- view/tpl/jot.tpl | 2 +- view/tpl/jot_geotag.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'view') diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 8d6b5ff91..34acce879 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -60,7 +60,7 @@ {{if $noloc}} - {{/if}} diff --git a/view/tpl/jot_geotag.tpl b/view/tpl/jot_geotag.tpl index 7a398b612..60f128850 100755 --- a/view/tpl/jot_geotag.tpl +++ b/view/tpl/jot_geotag.tpl @@ -1,7 +1,7 @@ if(navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(position) { $('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude); - $('#profile-nolocation-wrapper').show(); + $('#profile-nolocation-wrapper').attr('disabled', false); }); } -- cgit v1.2.3