Fixing darkModeToggle listener (#577)

If hideColorSchemeToggle is true, darkModeToggle will not be rendered and adding a listener to a non-existing object will cause error.
This commit is contained in:
Kirill Feoktistov
2021-06-25 18:27:13 +00:00
committed by GitHub
parent 9920a722b0
commit 4bb81da844
3 changed files with 8 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.idea
**/themes/
exampleSite/public/
exampleSite/resources/