diff options
Diffstat (limited to 'misc/textarea.js')
-rw-r--r-- | misc/textarea.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/textarea.js b/misc/textarea.js index 2f7ee8d3c..88f5b0970 100644 --- a/misc/textarea.js +++ b/misc/textarea.js @@ -16,7 +16,7 @@ Drupal.behaviors.textarea = { .parent().append($('<div class="grippie"></div>').mousedown(startDrag)); var grippie = $('div.grippie', $(this).parent())[0]; - grippie.style.marginRight = (grippie.offsetWidth - $(this)[0].offsetWidth) +'px'; + grippie.style.marginRight = (grippie.offsetWidth - $(this)[0].offsetWidth) + 'px'; function startDrag(e) { staticOffset = textarea.height() - e.pageY; @@ -31,7 +31,7 @@ Drupal.behaviors.textarea = { } function endDrag(e) { - $(document).unbind("mousemove", performDrag).unbind("mouseup", endDrag); + $(document).unbind('mousemove', performDrag).unbind('mouseup', endDrag); textarea.css('opacity', 1); } }); |