JS fixes, for realz x2

This commit is contained in:
nonmakina 2021-07-11 17:51:17 +02:00
parent e0cec8ee5a
commit 72b716269e
7 changed files with 41 additions and 39 deletions

View file

@ -261,7 +261,7 @@
if ($(this).attr('name') == 'spoiler') {
$td.find('label').remove();
$(this).attr('id', 'q-spoiler-image');
$postForm.find('input[type="file"]').parent()
$postForm.find('#upload')
.removeAttr('colspan')
.after($('<td class="spoiler"></td>').append(this, ' ', $('<label for="q-spoiler-image">').text(_('Spoiler Image'))));
} else if ($(this).attr('name') == 'no_country') {