diff options
Diffstat (limited to 'modules/comment/comment.js')
-rw-r--r-- | modules/comment/comment.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/comment/comment.js b/modules/comment/comment.js index bdd1c3b95..58f00dc6b 100644 --- a/modules/comment/comment.js +++ b/modules/comment/comment.js @@ -6,9 +6,7 @@ Drupal.behaviors.comment = { $.each(['name', 'homepage', 'mail'], function () { var cookie = Drupal.comment.getCookie('comment_info_' + this); if (cookie) { - $('#comment-form input[name=' + this + ']:not(.comment-processed)', context) - .val(cookie) - .addClass('comment-processed'); + $('#comment-form input[name=' + this + ']', context).once('comment').val(cookie); } }); } |