only request geolocation permission if we're creating a post.
This commit is contained in:
parent
2e93a09d83
commit
df4ff26845
@ -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) {
|
||||
|
Reference in New Issue
Block a user