remove unused param
This commit is contained in:
parent
7e5085516e
commit
0f0da48571
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue