This commit is contained in:
2026-04-25 16:36:12 +03:00
parent 4fa6127aea
commit 8fd711f5a1
2 changed files with 13 additions and 12 deletions

View File

@@ -227,7 +227,7 @@ window.openAcademyModal = function() {
};
window.closeAcademyModal = function(e) {
if (e && e.target !== document.getElementById('academy-modal-overlay') && e.target !== document.getElementById('building-modal-close')) return;
if (e && e.target !== document.getElementById('academy-modal-overlay') && e.target !== document.getElementById('academy-modal-close')) return;
document.getElementById('academy-modal-overlay').classList.remove('open');
};