diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-27 20:19:38 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-27 20:19:38 +0000 |
commit | fc7283235bb9e5ae4300714d03c0bf3723f4792b (patch) | |
tree | 0dc443ba5dc1f74fbfc5ad5762c7c7a556232b73 /modules/comment/comment.js | |
parent | 031ba7d66533b3bb6e1ceb1cc834e9af9b1a3c71 (diff) | |
download | brdo-fc7283235bb9e5ae4300714d03c0bf3723f4792b.tar.gz brdo-fc7283235bb9e5ae4300714d03c0bf3723f4792b.tar.bz2 |
#444402 follow-up by kkaefer: Fix autocomplete, enforce code style for anonymous JS functions.
Diffstat (limited to 'modules/comment/comment.js')
-rw-r--r-- | modules/comment/comment.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/comment/comment.js b/modules/comment/comment.js index 3d2b92edd..bdd1c3b95 100644 --- a/modules/comment/comment.js +++ b/modules/comment/comment.js @@ -1,9 +1,9 @@ // $Id$ -(function($) { +(function ($) { Drupal.behaviors.comment = { - attach: function(context, settings) { - $.each(['name', 'homepage', 'mail'], function() { + attach: function (context, settings) { + $.each(['name', 'homepage', 'mail'], function () { var cookie = Drupal.comment.getCookie('comment_info_' + this); if (cookie) { $('#comment-form input[name=' + this + ']:not(.comment-processed)', context) @@ -16,7 +16,7 @@ Drupal.behaviors.comment = { Drupal.comment = {}; -Drupal.comment.getCookie = function(name) { +Drupal.comment.getCookie = function (name) { var search = name + '='; var returnValue = ''; |