Skip to content

Commit

Permalink
fix audio files drop not working
Browse files Browse the repository at this point in the history
  • Loading branch information
RvNovae committed Jan 18, 2020
1 parent 54bce05 commit 25e36f6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/modules/DOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,13 @@ document.addEventListener('drop', (e) => {

return;
}
else {
for (const f of e.dataTransfer.files) {
// start the conversion process
Converter.Start(f.path);
}
return;
}
});

// add event listener for the copy button
Expand Down

0 comments on commit 25e36f6

Please sign in to comment.