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

' + '' + @@ -69,11 +67,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 {