Skip to content

Commit

Permalink
Merge pull request #6 from RvNovae/develop
Browse files Browse the repository at this point in the history
fix audio files drop not working
  • Loading branch information
RvNovae authored Jan 18, 2020
2 parents 64cea3d + 25e36f6 commit 768ca3f
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 768ca3f

Please sign in to comment.