nooooooooo

This commit is contained in:
lda
2025-09-04 23:56:23 +07:00 Unverified
parent 4a88f72491
commit bd3a71eac1
+2 -2
View File
@@ -20,9 +20,9 @@ export function setPill(kind, text) {
}
export function setLink(name, clear) {
if (clear) location.search = "";
const url = new URL(location.href);
/* const hasExtraFilters = filter_array.some(
if (clear) url.searchParams.forEach((_, k) => url.searchParams.delete(k)); // FUCK
/* const hasExtraFilters = filter_array.some(
(k) => url.searchParams.getAll(k).length
);
if (hasExtraFilters) {