fix 2
This commit is contained in:
@@ -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');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user