Skip to content

Commit

Permalink
Update wui.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zeejot authored Oct 13, 2019
1 parent 2b543b9 commit b3eb797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/js/wui.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ vz.wui.init = function() {
if (vz.options.darkTheme) {
document.documentElement.classList.add('color-theme-in-transition');
document.documentElement.setAttribute('data-theme', "dark");
window.setTimeout(function() { document.documentElement.classList.remove('color-theme-in-transition') }, 500);
window.setTimeout(function() { document.documentElement.classList.remove('color-theme-in-transition'); }, 500);
}
$('#darkTheme').change(function() {
vz.options.darkTheme = $(this).prop('checked');
Expand All @@ -104,7 +104,7 @@ vz.wui.init = function() {
} else {
document.documentElement.setAttribute('data-theme', "light");
}
window.setTimeout(function() { document.documentElement.classList.remove('color-theme-in-transition') }, 500);
window.setTimeout(function() { document.documentElement.classList.remove('color-theme-in-transition'); }, 500);
});

// toggle all channels
Expand Down

0 comments on commit b3eb797

Please sign in to comment.