Archived
1
0
This commit is contained in:
Jeff Becker 2017-10-01 11:59:41 -04:00
parent 334ac0e4f2
commit 8038663b0a
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -108,8 +108,9 @@ onready(function() {
var data = new FormData(); var data = new FormData();
data.append("message", document.getElementById("comment").value); data.append("message", document.getElementById("comment").value);
var inputs = form.getElementsByTagName("input"); var inputs = form.getElementsByTagName("input");
for(var input in inputs) for(var idx = 0; idx < inputs.length; idx++)
{ {
var input = inputs[idx];
console.log(input); console.log(input);
if(input.files) if(input.files)
{ {