We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d01998 commit f79c831Copy full SHA for f79c831
templates/theme.js
@@ -1,6 +1,8 @@
1
(function() {
2
function applyTheme(theme) {
3
- document.documentElement.dataset.theme = theme;
+ if (theme) {
4
+ document.documentElement.dataset.theme = theme;
5
+ }
6
}
7
8
window.addEventListener('storage', function (ev) {
0 commit comments