From 28aaa036e471a5d96be3938545c49e2dc71e342e Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 30 Mar 2009 03:15:41 +0000 Subject: #304330 follow-up by sun: Clean-up of text format widget patch. --- misc/form.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'misc') diff --git a/misc/form.js b/misc/form.js index 2a2e02dad..4451e40d9 100644 --- a/misc/form.js +++ b/misc/form.js @@ -14,18 +14,18 @@ Drupal.behaviors.multiselectSelector = { /** - * Automatically displays the guidelines of the selected text format. + * Automatically display the guidelines of the selected text format. */ Drupal.behaviors.filterGuidelines = { attach: function(context) { - $('.filter-guidelines:not(.filterGuidelines-processed)', context) - .addClass('filterGuidelines-processed') + $('.filter-guidelines:not(.filter-guidelines-processed)', context) + .addClass('filter-guidelines-processed') .find('label').hide() .parents('.filter-wrapper').find('select.filter-list') - .bind('change', function() { + .bind('change', function () { $(this).parents('.filter-wrapper') - .find('.filter-guidelines-item').hide() - .siblings('#filter-guidelines-' + this.value).show(); + .find('.filter-guidelines-item').hide() + .siblings('#filter-guidelines-' + this.value).show(); }) .change(); } -- cgit v1.2.3