Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

JS: avoid JS errors when hiding the textarea.

  • Loading branch information...
commit 1daeedb8b50ca8da510b75d3f95796b9165db6e2 1 parent 4c19eef
@vdboor vdboor authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  fluent_comments/static/fluent_comments/js/ajaxcomments.js
View
2  fluent_comments/static/fluent_comments/js/ajaxcomments.js
@@ -173,7 +173,7 @@
function commentSuccess(data)
{
// Clean form
- $('form.js-comments-form textarea')[0].value = "";
+ $('form.js-comments-form textarea').last().val("");
$('#id_comment').val('');
// Show comment
Please sign in to comment.
Something went wrong with that request. Please try again.