- Patch #101305 by bjaspan: work around IE textarea bug.
parent
4a7be0f2f0
commit
704737132f
|
@ -4,7 +4,9 @@ Drupal.textareaAttach = function() {
|
|||
$('textarea.resizable:not(.processed)').each(function() {
|
||||
var textarea = $(this).addClass('processed'), staticOffset = null;
|
||||
|
||||
$(this).wrap('<div class="resizable-textarea"></div>')
|
||||
// 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('<div class="resizable-textarea"><span></span></div>')
|
||||
.parent().append($('<div class="grippie"></div>').mousedown(startDrag));
|
||||
|
||||
// Inherit visibility
|
||||
|
|
Loading…
Reference in New Issue