forked from leftypol/leftypol
Allow the user to decide whether or not he wants to display his country
This commit is contained in:
parent
1ce9fb8174
commit
23c73ca839
4 changed files with 8 additions and 2 deletions
|
@ -266,6 +266,8 @@
|
|||
$postForm.find('input[type="file"]').parent()
|
||||
.removeAttr('colspan')
|
||||
.after($('<td class="spoiler"></td>').append(this, ' ', $('<label for="q-spoiler-image">').text(_('Spoiler Image'))));
|
||||
} else if ($(this).attr('name') == 'no_country') {
|
||||
$td.find('label,input[type="checkbox"]').remove();
|
||||
} else {
|
||||
$(tr).remove();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue