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){
|
function initEditor(cb){
|
||||||
if (editor==false){
|
if (editor==false){
|
||||||
$("#profile-jot-text-loading").spin('small').show();
|
$("#profile-jot-text-loading").spin('small').show();
|
||||||
|
{{$geotag}}
|
||||||
if(plaintext == 'none') {
|
if(plaintext == 'none') {
|
||||||
$("#profile-jot-text-loading").spin(false).hide();
|
$("#profile-jot-text-loading").spin(false).hide();
|
||||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000', 'line-height': 'inherit' });
|
$("#profile-jot-text").css({ 'height': 200, 'color': '#000', 'line-height': 'inherit' });
|
||||||
@ -362,7 +363,6 @@ function enableOnUser(){
|
|||||||
$('#profile-nolocation-wrapper').attr('disabled', true);
|
$('#profile-nolocation-wrapper').attr('disabled', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
{{$geotag}}
|
|
||||||
|
|
||||||
var initializeEmbedPhotoDialog = function () {
|
var initializeEmbedPhotoDialog = function () {
|
||||||
$('.embed-photo-selected-photo').each(function (index) {
|
$('.embed-photo-selected-photo').each(function (index) {
|
||||||
|
Reference in New Issue
Block a user