diff --git a/js/quick-reply.js b/js/quick-reply.js index 70eba7c0..1ed2e505 100644 --- a/js/quick-reply.js +++ b/js/quick-reply.js @@ -28,16 +28,6 @@ dummy_reply.remove(); $('').appendTo($('head')); }; @@ -128,7 +48,7 @@ do_css(); - var $postForm = $('form[name="post"]').clone(); + var $postForm = $('#post-form-outer').clone(); $postForm.clone(); @@ -243,34 +163,6 @@ $(this).remove(); } - // Remove oekaki if existent - if ($(this).is('#oekaki')) { - $(this).remove(); - } - - // Remove upload selection - if ($td.is('#upload_selection')) { - $(this).remove(); - } - - // Remove mod controls, because it looks shit. - /*if ($td.find('input[type="checkbox"]').length) { - var tr = this; - $td.find('input[type="checkbox"]').each(function() { - if ($(this).attr('name') == 'spoiler') { - $td.find('label').remove(); - $(this).attr('id', 'q-spoiler-image'); - $postForm.find('input[type="file"]').parent() - .removeAttr('colspan') - .after($('').append(this, ' ', $('