[bugfix] sort by dropdown fixed

This commit is contained in:
2026-04-09 14:58:15 -04:00
parent ed049da3d2
commit 37b9d5c954
4 changed files with 7 additions and 12 deletions

View File

@@ -187,7 +187,7 @@ import BackToTop from "./BackToTop.astro"
// ── Sort dropdown ─────────────────────────────────────────────────────────
document.addEventListener('click', (e) => {
const btn = e.target.closest('#sortBy [data-bs-toggle="dropdown"]');
const btn = e.target.closest('#sortBy [data-toggle="sort-dropdown"]');
if (btn) {
e.preventDefault();
e.stopPropagation();