diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-12 00:29:09 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-12 00:29:09 +0000 |
commit | 430d83956928193245d22aba652e540060502a53 (patch) | |
tree | 413fac4a3ed1b10545b7edbc01252f14f9e2301b /misc/teaser.js | |
parent | 9dc60ce09b2d0ae801307499e437137b8407ce33 (diff) | |
download | brdo-430d83956928193245d22aba652e540060502a53.tar.gz brdo-430d83956928193245d22aba652e540060502a53.tar.bz2 |
#231475 by birdmanx35 and redndahead: Coding style for comments in *.js.
Diffstat (limited to 'misc/teaser.js')
-rw-r--r-- | misc/teaser.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/teaser.js b/misc/teaser.js index 6a4a341d1..590dad582 100644 --- a/misc/teaser.js +++ b/misc/teaser.js @@ -56,10 +56,10 @@ Drupal.behaviors.teaser = function(context) { // Note: using val() fails sometimes. jQuery bug? teaser[0].value = trim(text.slice(0, split)); body[0].value = trim(text.slice(split)); - // Reveal and enable teaser + // Reveal and enable teaser. $(teaser).attr('disabled', ''); $(teaser).parent().slideDown('fast'); - // Change label + // Change label. $(this).val(Drupal.t('Join summary')); // Show separate teaser checkbox, restore checked value. $(checkbox).show().children('input').attr('checked', checked); @@ -87,7 +87,7 @@ Drupal.behaviors.teaser = function(context) { if (Drupal.behaviors.textarea && teaser.is(('.form-textarea:not(.textarea-processed)'))) { Drupal.behaviors.textarea(teaser.parentNode); } - // Set initial visibility + // Set initial visibility. if ($(teaser).is('[@disabled]')) { $(teaser).parent().hide(); } |