change layout

This commit is contained in:
2026-04-22 22:04:51 +03:00
parent 373bcc7a9c
commit a50a4baa4c
5 changed files with 243 additions and 61 deletions

View File

@@ -85,6 +85,10 @@ window.renderTowns = function() {
window.selectTown = function(id) {
window.selectedTownId = id;
window.selectedBuildingId = null;
const lbl = document.getElementById('selected-building-label');
if (lbl) lbl.textContent = '-- Επιλέξτε Κατασκευή --';
window.renderTowns();
document.getElementById('no-town-selected').style.display = 'none';