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

Merged
discomrade merged 1 commits from file-drag-dropzone-only into config 2 years ago
  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