From 8fd711f5a1acfdd72bd96d26d8d985d70ba04a66 Mon Sep 17 00:00:00 2001 From: haunter Date: Sat, 25 Apr 2026 16:36:12 +0300 Subject: [PATCH] fix 2 --- static/js/components/commandForm.js | 2 +- templates/dashboard.html | 23 ++++++++++++----------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/static/js/components/commandForm.js b/static/js/components/commandForm.js index d76c9d2..3b08b7c 100644 --- a/static/js/components/commandForm.js +++ b/static/js/components/commandForm.js @@ -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'); }; diff --git a/templates/dashboard.html b/templates/dashboard.html index 5051493..d7840e3 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -240,15 +240,6 @@ - - - - - - -
@@ -266,12 +257,22 @@
-
+

🦉 Ακαδημία

- +
+ + + + + + + +