From dca8ab057a64e2fc6aa2b4addc17ad144cab3054 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 6 Nov 2021 18:35:56 +0000 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 218354aa..513380ba 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -294,12 +294,8 @@ // x => !current_files.has(x))); - - console.log(files_to_add, current_files, - distinct_set); - - extendInputs(distinct_set.size); - distinct_set.forEach((file) => { + extendInputs(files_to_add.size); + files_to_add.forEach((file) => { addFile(file, false); }); });