diff options
Diffstat (limited to 'src/app/settings.js')
-rw-r--r-- | src/app/settings.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/app/settings.js b/src/app/settings.js index 23b38c9..051d6a1 100644 --- a/src/app/settings.js +++ b/src/app/settings.js @@ -3,22 +3,22 @@ var Settings = { if (state) { Settings.load(); options.scrollTo(0, 0); - overlay.classList.add("shown") - options.classList.add("shown") + overlay.classList.add("shown"); + options.classList.add("shown"); return } else if (! state) { if (state != undefined) { - overlay.classList.remove("shown") - options.classList.remove("shown") + overlay.classList.remove("shown"); + options.classList.remove("shown"); return } } Settings.load(); options.scrollTo(0, 0); - overlay.classList.toggle("shown") - options.classList.toggle("shown") + overlay.classList.toggle("shown"); + options.classList.toggle("shown"); }, apply: () => { settings = {...settings, ...Settings.get()}; |