diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-17 19:31:56 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-17 19:31:56 +0000 |
commit | d50abff253543cf6bffbd897c8f17c3424566365 (patch) | |
tree | bdbc467b6436caf4b8292f1256a19a1049cd85ef /misc | |
parent | a4380940cfcd2784d2ccfed02364d84ec852c3c4 (diff) | |
download | brdo-d50abff253543cf6bffbd897c8f17c3424566365.tar.gz brdo-d50abff253543cf6bffbd897c8f17c3424566365.tar.bz2 |
#209720 by theborg: avoid processing resizable teasers before teaser.js is run and the proper wrappers are in place
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: |