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 = $('