Skip to content

Commit

Permalink
fix Typo in Using files from web applications docs #21504 (#21505)
Browse files Browse the repository at this point in the history
  • Loading branch information
xujintai123 authored Oct 12, 2022
1 parent 165b70e commit 5d88855
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ The following example shows a possible use of the `size` property:
units[exponent]
} (${numberOfBytes} bytes)`;
document.getElementById("fileNum").textContent = fileList.length;
document.getElementById("fileNum").textContent = uploadInput.files.length;
document.getElementById("fileSize").textContent = output;
},
false
Expand Down Expand Up @@ -346,7 +346,7 @@ function handleFiles() {
img.src = URL.createObjectURL(this.files[i]);
img.height = 60;
img.onload = () => {
URL.revokeObjectURL(this.src);
URL.revokeObjectURL(img.src);
}
li.appendChild(img);
const info = document.createElement("span");
Expand Down

0 comments on commit 5d88855

Please sign in to comment.