mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
userpage: fix display of email confirmation required message
recent adjustments to modals and CSS in general meant a "content" class was removed that was being querySelector'ed. For #455.
This commit is contained in:
@@ -534,7 +534,7 @@ const addEditEmail = (add: boolean): void => {
|
||||
const content = window.modals.email.modal.querySelector(".content");
|
||||
content.classList.remove("unfocused");
|
||||
|
||||
const submit = window.modals.email.modal.querySelector(".modal-submit") as HTMLButtonElement;
|
||||
const submit = window.modals.email.modal.querySelector(".card").children[0] as HTMLButtonElement;
|
||||
submit.onclick = () => {
|
||||
addLoader(submit);
|
||||
_post(
|
||||
|
||||
Reference in New Issue
Block a user