[bugfix] sort by dropdown fixed
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user