mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-28 12:44:57 +02:00
Update theme-switcher.js
This commit is contained in:
@@ -12,14 +12,3 @@ function changeTheme(){
|
||||
localStorage.setItem("my-theme",null);
|
||||
}
|
||||
}
|
||||
|
||||
// Check local storage every reload to know which theme to use.
|
||||
// if (localStorage.getItem("my-theme")==="dark") {
|
||||
// Use dark theme.
|
||||
// DarkReader.enable();
|
||||
// }
|
||||
// else {
|
||||
// Use default theme.
|
||||
// DarkReader.disable();
|
||||
// }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user