mirror of
https://github.com/LJ5O/website.git
synced 2026-08-11 14:44:46 +02:00
Quick edit
Yes
This commit is contained in:
@@ -12,6 +12,7 @@ import en from "./assets/localization/en/localization.json";
|
|||||||
import ja from "./assets/localization/ja/localization.json";
|
import ja from "./assets/localization/ja/localization.json";
|
||||||
|
|
||||||
function getCookie(cname) {
|
function getCookie(cname) {
|
||||||
|
// Thanks https://www.w3schools.com/js/js_cookies.asp
|
||||||
let name = cname + "=";
|
let name = cname + "=";
|
||||||
let decodedCookie = decodeURIComponent(document.cookie);
|
let decodedCookie = decodeURIComponent(document.cookie);
|
||||||
let ca = decodedCookie.split(';');
|
let ca = decodedCookie.split(';');
|
||||||
|
|||||||
Reference in New Issue
Block a user