From 8637186a9f835972a5a0b96e4df1665d6d42557a Mon Sep 17 00:00:00 2001
From: Marvin Borner
Date: Fri, 29 Jan 2021 14:10:17 +0100
Subject: idk
---
profile/public/user.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'profile/public/user.js')
diff --git a/profile/public/user.js b/profile/public/user.js
index 6dfb95b..963904c 100644
--- a/profile/public/user.js
+++ b/profile/public/user.js
@@ -13,7 +13,9 @@ function addUser(userData) {
if (!questions.hasOwnProperty(questionID) || questions[questionID].type === "file") continue;
const question = questions[questionID];
const div = document.createElement("div");
- div.innerHTML = `${question.question.replace(//g, ">")} ${(question.answer || "Hitler").replace(//g, ">") || ""}`;
+ div.innerHTML = `${question.question.replace(//g, ">")} ${
+ (question.answer || "nichts").replace(//g, ">") || ""
+ }`;
divs.push(div);
}
const h1 = document.createElement("h1");
--
cgit v1.2.3