From e999e23e68ccac0328eaddc7780dccac2ee12958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Fri, 30 Nov 2007 23:26:58 +0000 Subject: #196513 by yched: resizable textarea was a bit too agressive in unbinding handlers, so it made drag and drop disabled --- misc/textarea.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/misc/textarea.js b/misc/textarea.js index f85eacd2a..fed9db687 100644 --- a/misc/textarea.js +++ b/misc/textarea.js @@ -36,8 +36,7 @@ Drupal.behaviors.textarea = function(context) { } function endDrag(e) { - $(document).unbind("mousemove"); - $(document).unbind("mouseup"); + $(document).unbind("mousemove", performDrag).unbind("mouseup", endDrag); textarea.css('opacity', 1); } }); -- cgit v1.2.3