Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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);
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment