diff options
author | Marvin Borner | 2021-01-28 13:48:52 +0100 |
---|---|---|
committer | Marvin Borner | 2021-01-28 13:48:52 +0100 |
commit | 0bfd98fa5efd429288460e5714926cf574fb13a0 (patch) | |
tree | e4fe0f1e632a65c2350c162aa3a8ffae009abdbe /profile/public | |
parent | 0c45adc72d0f5c276509f2a6c5971be5dc7679aa (diff) | |
parent | 5feb9b1af9f6ff5b2e08bf9c7cc85ffc0f313945 (diff) |
Merge branch 'master' into crop
Diffstat (limited to 'profile/public')
-rw-r--r-- | profile/public/user.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); |