kopia lustrzana https://github.com/glidernet/ogn-live
6 wiersze
242 B
JavaScript
6 wiersze
242 B
JavaScript
|
function changeTheme() {
|
||
|
if (++theme == 3) theme = 0;
|
||
|
document.getElementById("theme").href = "ogn_" + theme + ".css";
|
||
|
document.getElementById("css_switch").innerHTML = theme_name[theme];
|
||
|
document.getElementById("tid").value = theme;
|
||
|
}
|