From 3045ccac64a1595a7ed89415cd0521e387bfa2c7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 27 Jan 2021 23:28:55 +0100 Subject: That's dump (pun intended) --- profile/public/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'profile/public') diff --git a/profile/public/user.js b/profile/public/user.js index b0eb768..39d6713 100644 --- a/profile/public/user.js +++ b/profile/public/user.js @@ -171,7 +171,7 @@ function addChar(char) { inp.maxLength = 255; - btn.addEventListener("click", async e => { + btn.addEventListener("click", async (e) => { const char = inp.value; const body = JSON.stringify({ char }); await fetch(`api/char/${uid}`, { @@ -196,4 +196,4 @@ fetch(`api/comments/${uid}`) fetch(`api/char/${uid}`) .then((response) => response.json()) - .then(addChar); \ No newline at end of file + .then(addChar); -- cgit v1.2.3