 misc/textarea.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/misc/textarea.js b/misc/textarea.js
index 067586b..2869f20 100644
--- a/misc/textarea.js
+++ b/misc/textarea.js
@@ -13,7 +13,11 @@ Drupal.behaviors.textarea = function(context) {
       .parent().append($('<div class="grippie"></div>').mousedown(startDrag));
 
     var grippie = $('div.grippie', $(this).parent())[0];
-    grippie.style.marginRight = (grippie.offsetWidth - $(this)[0].offsetWidth) +'px';
+    if ($(this).css("direction") === "rtl") {
+      grippie.style.marginLeft = (grippie.offsetWidth - $(this)[0].offsetWidth) +'px';
+    } else {
+      grippie.style.marginRight = (grippie.offsetWidth - $(this)[0].offsetWidth) +'px';
+    }
 
     function startDrag(e) {
       staticOffset = textarea.height() - e.pageY;
