From 9d716a655ed927f2e7f64f8c2682a8b03dc8e601 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Sat, 26 Jan 2019 02:01:59 -0800 Subject: [PATCH] Actually fix upload.js issue --- static/js/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/upload.js b/static/js/upload.js index af70488..125123c 100644 --- a/static/js/upload.js +++ b/static/js/upload.js @@ -43,7 +43,7 @@ Dropzone.options.dropzone = { }, sending: function(file, xhr, formData) { var randomize = document.getElementById("randomize"); - if(typeof randomize != "undefined") { + if(randomize != null) { formData.append("randomize", randomize.checked); } formData.append("expires", document.getElementById("expires").value);