Skip to content

Commit

Permalink
restore E.initialize call in drop publiclab#8670
Browse files Browse the repository at this point in the history
  • Loading branch information
noi5e committed Jan 6, 2021
1 parent b9b8182 commit 5972fe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/dragdrop.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jQuery(function() {
$('#side-dropzone').removeClass('hover');
});
$('.dropzone').on('drop',function(e) {
$D.selected = $(e.target.closest('div.comment-form-wrapper')).eq(0);
$D.selected = $(e.target).closest('div.comment-form-wrapper').eq(0);
e.preventDefault();
// $E.initialize({});
$E.initialize({});
});
$('#side-dropzone').on('drop',function(e) {
e.preventDefault();
Expand Down

0 comments on commit 5972fe8

Please sign in to comment.