diff options
| author | Fredrick Brennan <admin@8chan.co> | 2014-09-20 15:21:50 +0000 |
|---|---|---|
| committer | Fredrick Brennan <admin@8chan.co> | 2014-09-20 16:35:28 +0000 |
| commit | 23c73ca83943fb720addebe461286bc4ff3679b9 (patch) | |
| tree | ca31cfde85612e649a6bfb219caebe470860b1dc /js | |
| parent | 1ce9fb8174cd7f5fb39f87b83095caf6a47258f1 (diff) | |
Allow the user to decide whether or not he wants to display his country
Diffstat (limited to 'js')
| -rw-r--r-- | js/quick-reply.js | 2 |
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(); } |
