Fixed bug with unresponsive button
All checks were successful
All checks were successful
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user