aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot_geotag.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-12-09 15:22:53 +0100
committermarijus <mario@mariovavti.com>2014-12-09 15:22:53 +0100
commitcc365513edc0ea7829e44a7854a47f3fcf8a17d1 (patch)
treec6d2e6923054472ae97c064f1ccd2244fd82af3e /view/tpl/jot_geotag.tpl
parent242713ebef71e0e2b6b1666f7c2400b26772ba2d (diff)
downloadvolse-hubzilla-cc365513edc0ea7829e44a7854a47f3fcf8a17d1.tar.gz
volse-hubzilla-cc365513edc0ea7829e44a7854a47f3fcf8a17d1.tar.bz2
volse-hubzilla-cc365513edc0ea7829e44a7854a47f3fcf8a17d1.zip
adjustment to clear browser location button only if use browser location option is set
Diffstat (limited to 'view/tpl/jot_geotag.tpl')
-rwxr-xr-xview/tpl/jot_geotag.tpl2
1 files changed, 1 insertions, 1 deletions
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);
});
}