adding set cookie and set lang #68

Merged
tonitch merged 2 commits from tonitch/front/setLang into master 2024-03-08 11:23:33 +01:00
Showing only changes of commit 8c19835327 - Show all commits

View File

@ -19,7 +19,7 @@ export function getCookie(key){
* @param key cookie name * @param key cookie name
*/ */
export function setCookie(key, value){ export function setCookie(key, value){
cookie = key + "=" + value ";" cookie = key + "=" + value + ";";
document.cookie = cookie; document.cookie = cookie;
// Here we can apreciate the stupidity of Javascript :/ // Here we can apreciate the stupidity of Javascript :/
} }