improve the build system
This commit is contained in:
17
scripts/lang.js
Normal file
17
scripts/lang.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
|
||||
|
||||
function change_lang(base) {
|
||||
let cz = document.querySelector(base + "_cz");
|
||||
let en = document.querySelector(base + "_en");
|
||||
|
||||
if(cz.style.display == "none") {
|
||||
cz.style.display = "";
|
||||
en.style.display = "none";
|
||||
} else {
|
||||
cz.style.display = "none";
|
||||
en.style.display = "";
|
||||
}
|
||||
}
|
||||
|
||||
// @license-end
|
||||
|
Reference in New Issue
Block a user