mirror of
https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
synced 2025-11-04 14:49:44 +08:00
6 lines
185 B
JavaScript
6 lines
185 B
JavaScript
async function switchScheme() {
|
|
localStorage.getItem('theme') === 'dark' ? jtd.setTheme("eyetrackvr") : jtd.setTheme("light");
|
|
}
|
|
window.onload = function () {
|
|
switchScheme();
|
|
}; |