summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-30 23:26:58 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-30 23:26:58 +0000
commite999e23e68ccac0328eaddc7780dccac2ee12958 (patch)
treee31fc59ca8e83181bebc9dd548762ea72e84695f /misc
parentcf8ef30aa1baeb39da4c189853e051e17969aba1 (diff)
downloadbrdo-e999e23e68ccac0328eaddc7780dccac2ee12958.tar.gz
brdo-e999e23e68ccac0328eaddc7780dccac2ee12958.tar.bz2
#196513 by yched: resizable textarea was a bit too agressive in unbinding handlers, so it made drag and drop disabled
Diffstat (limited to 'misc')
-rw-r--r--misc/textarea.js3
1 files changed, 1 insertions, 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);
}
});