From 430d83956928193245d22aba652e540060502a53 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 12 Oct 2008 00:29:09 +0000 Subject: #231475 by birdmanx35 and redndahead: Coding style for comments in *.js. --- misc/teaser.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'misc/teaser.js') 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(); } -- cgit v1.2.3