hompage feature group header shrinking support moved to legacy

This commit is contained in:
Connor Yoh 2025-04-14 15:04:37 +01:00
parent 646c3efe54
commit 392b8d37c3
2 changed files with 8 additions and 6 deletions

View File

@ -255,5 +255,12 @@ document.addEventListener('DOMContentLoaded', function () {
});
}, 500);
Array.from(document.querySelectorAll('.feature-group-header')).forEach((header) => {
const parent = header.parentNode;
header.onclick = () => {
expandCollapseToggle(parent);
};
});
showFavoritesOnly();
});

View File

@ -241,10 +241,5 @@ document.addEventListener('DOMContentLoaded', async function () {
console.error('Material Symbols Rounded font failed to load.');
});
Array.from(document.querySelectorAll('.feature-group-header')).forEach((header) => {
const parent = header.parentNode;
header.onclick = () => {
expandCollapseToggle(parent);
};
});
});