remove redunant javascript

This commit is contained in:
ZanzyTHEbar 2022-05-11 15:00:42 +02:00
parent cc95ca560d
commit 13483c1ed0

View File

@ -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";
} }
} }