Add event listener for close button in config panel
This commit is contained in:
parent
28e4e07b83
commit
159653d17e
|
|
@ -101,3 +101,9 @@ function createStatusDisplay() {
|
||||||
document.body.appendChild(div);
|
document.body.appendChild(div);
|
||||||
return div;
|
return div;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add after the existing event listeners
|
||||||
|
document.getElementById('close-config').addEventListener('click', () => {
|
||||||
|
console.log('Close button clicked');
|
||||||
|
document.getElementById('config-panel').classList.remove('open');
|
||||||
|
});
|
||||||
Loading…
Reference in New Issue