From b3eb797f565fdbe3b9d1ae0edfd369e5ee6ad92d Mon Sep 17 00:00:00 2001 From: zeejot <46942081+zeejot@users.noreply.github.com> Date: Sun, 13 Oct 2019 10:52:09 +0200 Subject: [PATCH] Update wui.js --- htdocs/js/wui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/js/wui.js b/htdocs/js/wui.js index 00b251291..af8e32d91 100644 --- a/htdocs/js/wui.js +++ b/htdocs/js/wui.js @@ -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'); @@ -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