minor fix to ban button on profile pages

pull/90/head
Aevann 2023-01-21 07:46:21 +02:00
parent 7fa52b14a8
commit 2b3dd62a86
1 changed files with 2 additions and 2 deletions

View File

@ -367,8 +367,8 @@ function sendFormXHR(form, extraActionsOnSuccess) {
function sendFormXHRSwitch(form) {
sendFormXHR(form,
() => {
e.target.previousElementSibling.classList.remove('d-none');
e.target.classList.add('d-none');
form.previousElementSibling.classList.remove('d-none');
form.classList.add('d-none');
}
)
}