mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
preventDefault drag behaviour inside textarea (#3070)
fixes errors when trying to drag inside textarea while an eventhandler is listening for drag events
This commit is contained in:
parent
6a96cd1284
commit
4bc592c9e8
@ -3901,6 +3901,7 @@
|
||||
}
|
||||
|
||||
function onDragStart(cm, e) {
|
||||
e.preventDefault();
|
||||
if (ie && (!cm.state.draggingText || +new Date - lastDrop < 100)) { e_stop(e); return; }
|
||||
if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user