overriding previously selected files issue#529
This commit is contained in:
parent
44e3556382
commit
4612b05199
1 changed files with 0 additions and 1 deletions
|
@ -10,7 +10,6 @@ document.getElementById("fileInput-input").addEventListener("change", function()
|
||||||
|
|
||||||
function displayFiles(files) {
|
function displayFiles(files) {
|
||||||
var list = document.getElementById("selectedFiles");
|
var list = document.getElementById("selectedFiles");
|
||||||
list.innerHTML = "";
|
|
||||||
|
|
||||||
for (var i = 0; i < files.length; i++) {
|
for (var i = 0; i < files.length; i++) {
|
||||||
var item = document.createElement("li");
|
var item = document.createElement("li");
|
||||||
|
|
Loading…
Reference in a new issue