diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/form.js | 12 |
1 files changed, 6 insertions, 6 deletions
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(); } |