diff options
author | redmatrix <git@macgirvin.com> | 2016-06-29 17:53:59 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-06-29 17:53:59 -0700 |
commit | df4ff26845ea2868998c6a05397dc8e3aa07ba98 (patch) | |
tree | 8b0fe05cd772c827cd7a17e1041ecbcac10d4883 /view/tpl/jot-header.tpl | |
parent | 2e93a09d83f16f12796ff4edc1aca09339ae2ccf (diff) | |
download | volse-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/tpl/jot-header.tpl')
-rwxr-xr-x | view/tpl/jot-header.tpl | 2 |
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) { |