Fixed bug with unresponsive button
All checks were successful
Compile Java Backend / Compile Backend Code (push) Successful in 1m32s
Lint Java Backend / Checkstyle Java Linting (push) Successful in 54s
Lint Dockerfiles / Lint Dockerfiles (push) Successful in 11s
Lint Frontend / Lint HTML, CSS, and JS (push) Successful in 39s

This commit is contained in:
2025-11-10 20:59:17 +01:00
parent e2cdac569a
commit 0ffeb914c3
3 changed files with 27 additions and 4 deletions

View File

@@ -63,6 +63,13 @@ function attachHeaderButtonListeners() {
if (signup) {
signup.addEventListener('click', () => { openModal('patientSignup'); });
}
const addDoctor = document.getElementById("addDocBtn");
if (addDoctor) {
addDoctor.addEventListener('click', () => { openModal('addDoctor'); });
}
}
function logout() {