From 8038663b0af329aea7fead912ea8d045b78ce97f Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 1 Oct 2017 11:59:41 -0400 Subject: [PATCH] fug --- contrib/static/overchan.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/static/overchan.js b/contrib/static/overchan.js index 2a5ccf9..87f0045 100644 --- a/contrib/static/overchan.js +++ b/contrib/static/overchan.js @@ -108,8 +108,9 @@ onready(function() { var data = new FormData(); data.append("message", document.getElementById("comment").value); 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); if(input.files) {