diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/textarea.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/textarea.js b/misc/textarea.js index f2c9962d1..2e645829d 100644 --- a/misc/textarea.js +++ b/misc/textarea.js @@ -2,6 +2,10 @@ Drupal.behaviors.textarea = function(context) { $('textarea.resizable:not(.textarea-processed)', context).each(function() { + // Avoid non-processed teasers. + if ($(this).is(('textarea.teaser:not(.teaser-processed)'))) { + return false; + } var textarea = $(this).addClass('textarea-processed'), staticOffset = null; // When wrapping the text area, work around an IE margin bug. See: |