Version 44

This commit is contained in:
2023-12-03 22:37:02 +01:00
parent ae96d63ab2
commit fad9967928
26 changed files with 1103 additions and 110 deletions

25
js/lang.js Normal file
View File

@@ -0,0 +1,25 @@
let items;
function load(){if(localStorage.getItem('items')!=null){items=JSON.parse(localStorage.getItem('items'));}}
function update(){let i = JSON.stringify(items);localStorage.setItem('items', i);}
window.onload = function(){
load();
items.joke=1;
}
// Upload
function upload(){update();load();}
function language(lan){
if(lan == 0){
items.lang=0;
upload();
location.href = '../index.html';
}
if(lan == 1){
items.lang=1;
upload();
location.href = '../index.html';
}
}