change layout
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user