nooooooooo
This commit is contained in:
@@ -20,8 +20,8 @@ export function setPill(kind, text) {
|
||||
}
|
||||
|
||||
export function setLink(name, clear) {
|
||||
if (clear) location.search = "";
|
||||
const url = new URL(location.href);
|
||||
if (clear) url.searchParams.forEach((_, k) => url.searchParams.delete(k)); // FUCK
|
||||
/* const hasExtraFilters = filter_array.some(
|
||||
(k) => url.searchParams.getAll(k).length
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user