Disable BG animation
I've made the tough decision to disable the BG animation by default. It's just to heavy on performance and is somewhat distracting for some people. I'm planning on making a toggle on it, but I'm not sure that will be done by the next release.
This commit is contained in:
@ -1,7 +1,12 @@
|
||||
// The magic cookie system is so stupid
|
||||
|
||||
export function setCookie(cname: string, cvalue: string) {
|
||||
document.cookie = cname + "=" + cvalue + ";";
|
||||
export function setCookie(
|
||||
cname: string,
|
||||
cvalue: string,
|
||||
sameSite: string = "Lax",
|
||||
) {
|
||||
document.cookie =
|
||||
cname + "=" + cvalue + ";" + "SameSite" + "=" + sameSite + ";";
|
||||
}
|
||||
|
||||
// Credit: https://www.w3schools.com/js/js_cookies.asp
|
||||
|
Reference in New Issue
Block a user