Skip to content

Commit

Permalink
[comments] Temporary fix for dragndrop
Browse files Browse the repository at this point in the history
  • Loading branch information
frankrousseau committed Jun 8, 2024
1 parent 0d42e33 commit 59c4e00
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 59c4e00

Please sign in to comment.