Skip to content

Commit

Permalink
target comment form handling more explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
makeusabrew committed Jul 10, 2012
1 parent 7b7f9a6 commit 9170368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/blog/views/view_post.tpl
Expand Up @@ -116,7 +116,7 @@
<script src="/js/forms.js"></script>
<script>
$(function() {
Forms.handle("form[method='post']", function(form) {
Forms.handle("#comments form[method='post']", function(form) {
$("#comments .page-header").remove();
$(form).parents(".form-wrapper").remove();
$("#comments p.no-comments").remove();
Expand Down

0 comments on commit 9170368

Please sign in to comment.