mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-19 21:32:24 +02:00
Squash Odysseus development history
This commit is contained in:
@@ -102,6 +102,10 @@ export function initSectionCollapse(Storage) {
|
||||
});
|
||||
}
|
||||
|
||||
// Chats can contain hundreds of rows, so provide a sticky collapse action
|
||||
// at the end of that list. Reuse the same handler/state as the header
|
||||
// chevron instead of creating a second persistence path.
|
||||
|
||||
// Click anywhere on collapsed section to expand
|
||||
section.addEventListener('click', (e) => {
|
||||
if (!section.classList.contains('collapsed')) return;
|
||||
|
||||
Reference in New Issue
Block a user