summaryrefslogtreecommitdiff
path: root/js/quick-reply.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/quick-reply.js')
-rw-r--r--js/quick-reply.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/quick-reply.js b/js/quick-reply.js
index 93cab334..07fe4aef 100644
--- a/js/quick-reply.js
+++ b/js/quick-reply.js
@@ -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();
}