mirror of
https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
synced 2025-11-04 14:49:44 +08:00
remove redunant javascript
This commit is contained in:
parent
cc95ca560d
commit
13483c1ed0
@ -1,9 +1,7 @@
|
|||||||
async function switchScheme(isClicked) {
|
async function switchScheme(isClicked) {
|
||||||
if (isClicked == true) {
|
if (isClicked == true) {
|
||||||
jtd.setTheme("eyetrackvr");
|
jtd.setTheme("eyetrackvr");
|
||||||
switch_scheme.textContent = "Light Mode";
|
|
||||||
} else {
|
} else {
|
||||||
jtd.setTheme("light");
|
jtd.setTheme("light");
|
||||||
switch_scheme.textContent = "Dark Mode";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user