From 316ecd00a07a135298af56965e4b30c807b1ea0b Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 31 Oct 2021 18:18:35 +0000 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 0ee43d0d..75047faa 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -148,7 +148,7 @@ // Get all input elements inputs = extendInputs(evt.dataTransfer.files.length); - console.log("drop inputs", inputs) + console.log("drop inputs", inputs); // Loop through each dropped file and try to assign to an // input element @@ -157,8 +157,8 @@ dT.clearData(); dT.items.add(f); for (let i = 0; i < inputs.length; i++) { - el = inputs.get(i) - console.log("drop el", el) + el = inputs.get(i); + console.log("drop el", el); if (el.files.length == 0) { el.files = dT.files; @@ -173,7 +173,7 @@ $(`[name=${feedback_el_name}]`).prop("checked", true); } - return false + return false; } } })