From 0f0da48571f4f88f23de878baab9bce36427843e Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 19 Jul 2020 20:52:44 +0100 Subject: [PATCH] remove unused param --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"