Browse Source

Only add drag-drop handlers to dropzone, not the entire document

This enables dragging text into the textbox.
pull/63/head
discomrade 2 years ago
parent
commit
662603aa42
  1. 2
      js/file-selector.js

2
js/file-selector.js

@ -122,7 +122,7 @@ var dropHandlers = {
// attach handlers
$(document).on(dropHandlers);
$('.dropzone').on(dropHandlers);
$(document).on('click', '.dropzone .remove-btn', function (e) {
e.stopPropagation();

Loading…
Cancel
Save