From 704737132f674110bd66cb064876d4af889b42ce Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 10 Apr 2007 11:24:16 +0000 Subject: - Patch #101305 by bjaspan: work around IE textarea bug. --- misc/textarea.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/textarea.js b/misc/textarea.js index 34217c7e5..8e523235e 100644 --- a/misc/textarea.js +++ b/misc/textarea.js @@ -4,7 +4,9 @@ Drupal.textareaAttach = function() { $('textarea.resizable:not(.processed)').each(function() { var textarea = $(this).addClass('processed'), staticOffset = null; - $(this).wrap('
') + // When wrapping the text area, work around an IE margin bug. See: + // http://jaspan.com/ie-inherited-margin-bug-form-elements-and-haslayout + $(this).wrap('
') .parent().append($('
').mousedown(startDrag)); // Inherit visibility -- cgit v1.2.3