mirror of
https://github.com/JonasunderscoreJones/BingoGenerator.git
synced 2025-10-22 22:09:18 +02:00
fixed js doc
This commit is contained in:
parent
ef9a8eb928
commit
089ad0b653
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ export function deleteSavedGridCookie(cookieName = 'bingoGrid') {
|
|||
|
||||
/**
|
||||
* Functions to add the Page-Theme cookie
|
||||
* @module cookies
|
||||
* @param {String} pageTheme The theme to set
|
||||
*/
|
||||
export function setThemeCookie(pageTheme) {
|
||||
document.cookie = `pageTheme=${pageTheme};path=/;max-age=31536000`; // Cookie lasts for 1 year
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue