diff --git a/script.js b/script.js index 66faa72..2e9ceb1 100644 --- a/script.js +++ b/script.js @@ -85,7 +85,7 @@ async function run() { const preview = document.getElementById("preview"); preview.style.display = "none"; - document.getElementById('image').addEventListener('change', function (e) { + document.getElementById('image').addEventListener('change', function () { readFile(this, function (e) { preview.src = e.target.result; preview.style.display = "initial"