diff --git a/progit/templates/pull_request.html b/progit/templates/pull_request.html
index 09f8399..f13a349 100644
--- a/progit/templates/pull_request.html
+++ b/progit/templates/pull_request.html
@@ -143,7 +143,7 @@
comment();
});
} else {
- next_row.prev().find('.pr_comment_form').remove();
+ next_row.prev().find('.pr_comment_form').parent().remove();
}
}
);