aboutsummaryrefslogtreecommitdiff
path: root/profile/public
diff options
context:
space:
mode:
authorLars Krönner2021-02-08 12:19:08 +0100
committerGitHub2021-02-08 12:19:08 +0100
commit4a87c860681ee2c872aa3f40c024d6d66f8d087c (patch)
tree7c2f8d076a2ff6bc0de5e6a5b5887f2c261caa44 /profile/public
parent19ed7cdbe9b911d08f3e689d1f7c2e36780f71aa (diff)
HOTFIXX!!
Diffstat (limited to 'profile/public')
-rw-r--r--profile/public/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile/public/script.js b/profile/public/script.js
index a115b64..8910746 100644
--- a/profile/public/script.js
+++ b/profile/public/script.js
@@ -58,7 +58,7 @@ function appendQuestions(question) {
const field = document.createElement("input");
field.id = "id_" + question.id;
field.name = question.id;
- if (question.answer !== undefined) init = false;
+ if (question.answer !== undefined && question.type !== "file") init = false;
field.value = question.answer || "";
field.placeholder = question.question;
field.type = question.type;