diff --git a/js/quick-post-controls.js b/js/quick-post-controls.js index c625fa85..f842f02d 100644 --- a/js/quick-post-controls.js +++ b/js/quick-post-controls.js @@ -14,19 +14,17 @@ $(document).ready(function() { let open_form = function() { - let thread = $(this).parent().parent().hasClass('op'); let id = $(this).attr('name').match(/^delete_(\d+)$/)[1]; if (this.checked) { let post_form = $('
' + - '
' + - (!thread ? '
' : '') + + '

' + '' + - ': ' + + ': ' + '' + - '' + + '' + '' + ' ' + @@ -57,11 +55,7 @@ $(document).ready(function() { post_form.find('input[type="password"]').val(localStorage.password); - if (thread) { - post_form.prependTo($(this).parent().parent().find('div.body')); - } else { - post_form.appendTo($(this).parent().parent()); - } + post_form.appendTo($(this).parent().parent()); $(window).trigger('quick-post-controls', post_form); } else {