Skip to content

Commit

Permalink
Merge pull request #1465 from frankrousseau/master
Browse files Browse the repository at this point in the history
[comments] Temporary fix for preview drag'n'drop
  • Loading branch information
EvanBldy authored Jun 11, 2024
2 parents 0d42e33 + 59c4e00 commit 63b8594
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/widgets/AddComment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -656,8 +656,10 @@ export default {
onDrop(event) {
if (event.target.id === 'drop-mask') return
/*
if (event.target.parentElement?.className?.indexOf('box')) return
if (event.target.parentElement?.className?.indexOf('buttons')) return
*/
const forms = []
for (let i = 0; i < event.dataTransfer.files.length; i++) {
const form = new FormData()
Expand Down

0 comments on commit 63b8594

Please sign in to comment.