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

Clear add member on successful add

parent 0f0c4b30
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.
Finish editing this message first!
Please register or to comment