Oops, fix silly bug keeping the bulk list form open all the time
Lol I forgot to interpolate the `value` variable into the cookie and just always set it to open lmao
This commit is contained in:
parent
f89fdf0219
commit
b28459c1cf
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
function setFormStateCookie(value) {
|
||||
const thirtyDays = 60 * 60 * 24 * 30;
|
||||
document.cookie = `DTIItemPageUserListsFormState=open;max-age=${thirtyDays}`;
|
||||
document.cookie = `DTIItemPageUserListsFormState=${value};max-age=${thirtyDays}`;
|
||||
}
|
||||
|
||||
const headers = document.querySelectorAll(".item-header");
|
||||
|
|
Loading…
Reference in a new issue