Skip to content

Commit

Permalink
Fix duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
YanivZalach committed Jan 27, 2024
1 parent f12b4e1 commit 85a9f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const resultElement = document.getElementById(resultName);


// Inside your script tag in main.js
document.getElementById('fileInput').addEventListener('change',() => {
fileInput.addEventListener('change',() => {
workFile(fileInput,resultElement);
});

0 comments on commit 85a9f43

Please sign in to comment.