Commit e999e23e authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#196513 by yched: resizable textarea was a bit too agressive in unbinding...

#196513 by yched: resizable textarea was a bit too agressive in unbinding handlers, so it made drag and drop disabled
parent cf8ef30a
......@@ -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);
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment