nooooooooo
This commit is contained in:
1 parent
4a88f72491
commit
bd3a71eac1
1 file changed
+1
-1
@@ -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