.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user