aboutsummaryrefslogtreecommitdiff
path: root/src/app/settings.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-05-30 21:53:41 +0200
committer0neGal <mail@0negal.com>2022-05-30 21:53:41 +0200
commit7ddfd200abad2de370d49f6a58862a71c148111d (patch)
tree39cdb07eaf4badc7f5391b55a55cfac6500e57b2 /src/app/settings.js
parent992f747c5cd93b4fd8c5e27c3bd24766c5875a5c (diff)
downloadViper-7ddfd200abad2de370d49f6a58862a71c148111d.tar.gz
Viper-7ddfd200abad2de370d49f6a58862a71c148111d.zip
fixed missing commas and various syntax stuff
I know, commas aren't needed, however, going in and out of using commas and not using them also looks bad, so generally I try to always use them, with exceptions.
Diffstat (limited to 'src/app/settings.js')
-rw-r--r--src/app/settings.js12
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()};