aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-29 17:53:59 -0700
committerredmatrix <git@macgirvin.com>2016-06-29 17:53:59 -0700
commitdf4ff26845ea2868998c6a05397dc8e3aa07ba98 (patch)
tree8b0fe05cd772c827cd7a17e1041ecbcac10d4883 /view
parent2e93a09d83f16f12796ff4edc1aca09339ae2ccf (diff)
downloadvolse-hubzilla-df4ff26845ea2868998c6a05397dc8e3aa07ba98.tar.gz
volse-hubzilla-df4ff26845ea2868998c6a05397dc8e3aa07ba98.tar.bz2
volse-hubzilla-df4ff26845ea2868998c6a05397dc8e3aa07ba98.zip
only request geolocation permission if we're creating a post.
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/jot-header.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index f3dd8cafe..9953875ef 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -7,6 +7,7 @@ var pretext = '{{$pretext}}';
function initEditor(cb){
if (editor==false){
$("#profile-jot-text-loading").spin('small').show();
+ {{$geotag}}
if(plaintext == 'none') {
$("#profile-jot-text-loading").spin(false).hide();
$("#profile-jot-text").css({ 'height': 200, 'color': '#000', 'line-height': 'inherit' });
@@ -362,7 +363,6 @@ function enableOnUser(){
$('#profile-nolocation-wrapper').attr('disabled', true);
}
- {{$geotag}}
var initializeEmbedPhotoDialog = function () {
$('.embed-photo-selected-photo').each(function (index) {