diff options
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment-node-form.js | 6 | ||||
-rw-r--r-- | modules/comment/comment.js | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/modules/comment/comment-node-form.js b/modules/comment/comment-node-form.js index 9c7dea7cc..20d8729f4 100644 --- a/modules/comment/comment-node-form.js +++ b/modules/comment/comment-node-form.js @@ -1,10 +1,10 @@ // $Id$ -(function($) { +(function ($) { Drupal.behaviors.commentFieldsetSummaries = { - attach: function(context) { - $('fieldset#edit-comment-settings', context).setSummary(function(context) { + attach: function (context) { + $('fieldset#edit-comment-settings', context).setSummary(function (context) { return Drupal.checkPlain($('input:checked', context).parent().text()); }); } 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 = ''; |