fix: various small fixes

This commit is contained in:
2025-10-19 18:22:01 +03:00
parent 1e291be7b5
commit 8fd5e00e3d
4 changed files with 42 additions and 15 deletions

View File

@@ -116,7 +116,7 @@ document.addEventListener('DOMContentLoaded', function () {
});
// Toggle panel buttons
document.querySelectorAll('.toggle-btn').forEach(button => {
document.querySelectorAll('[id^="toggle-"][id$="-panel"]').forEach(button => {
button.addEventListener('click', function () {
const panelId = this.id.replace('toggle-', '');
togglePanel(panelId);