From a0495130cc088a45d593b51ea9879112a581679e Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 1 Oct 2017 11:47:36 -0400 Subject: [PATCH] fix syntax error --- contrib/static/overchan.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/static/overchan.js b/contrib/static/overchan.js index 967ad98..6676616 100644 --- a/contrib/static/overchan.js +++ b/contrib/static/overchan.js @@ -108,11 +108,11 @@ onready(function() { var data = new FormData(); data.append("message", document.getElementById("comment").value); var inputs = form.getElementsByTagName("input"); - for(var input : inputs) + for(var input in inputs) { if(input.files) { - for (var file : input.files) + for (var file in input.files) data.append(input.name, file, file.name); } else if(input.name)