privateuserh's picture
Update scripts/ui.js
5577a8b verified
raw
history blame
434 Bytes
export function initUI() {
const productionButton = document.getElementById('production-button');
const productionPanel = document.getElementById('production-panel');
if (productionButton && productionPanel) {
productionButton.addEventListener('click', () => {
// This toggles the 'open' class which is defined in your main.css
productionPanel.classList.toggle('open');
});
}
}