mirror of
https://github.com/olehomelchenko/astrolabe-nvc.git
synced 2025-12-21 21:22:23 +00:00
feat: implement panel visibility toggles and toast notifications using Alpine.js
This commit is contained in:
@@ -143,13 +143,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
initializeURLStateManagement();
|
||||
});
|
||||
|
||||
// Toggle panel buttons
|
||||
document.querySelectorAll('[id^="toggle-"][id$="-panel"]').forEach(button => {
|
||||
button.addEventListener('click', function () {
|
||||
const panelId = this.id.replace('toggle-', '');
|
||||
togglePanel(panelId);
|
||||
});
|
||||
});
|
||||
// Toggle panel buttons (now handled by Alpine.js in index.html)
|
||||
|
||||
// Header links
|
||||
const importLink = document.getElementById('import-link');
|
||||
|
||||
Reference in New Issue
Block a user