EyeTrackVR-Docs/docs/_includes/js/custom.js
ZanzyTHEbar 9f029fc8f1 Fix FAQ to have section support, change the type to add a new section
Fix dark-mode toggle button (now works great)
2022-07-08 17:22:36 +01:00

6 lines
185 B
JavaScript

async function switchScheme() {
localStorage.getItem('theme') === 'dark' ? jtd.setTheme("eyetrackvr") : jtd.setTheme("light");
}
window.onload = function () {
switchScheme();
};