Skip to content
Snippets Groups Projects
Commit fc01fa9a authored by Odin Johan Vatne's avatar Odin Johan Vatne
Browse files

Clear add member on successful add

(cherry picked from commit 3276a50c)
parent 7a56b280
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@ function addUser() {
} else {
userBox.innerHTML += `<div class="user-bubble" onclick="removeUser(this,'${username}')">${data.name}</div>`;
input.value = "";
userSet.add(username);
errorBox.classList.add('hidden');
updateForm();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment