summaryrefslogtreecommitdiff
path: root/app/static
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonmail.com>2022-04-23 14:15:35 -0500
committerstilbruch <stilbruch@protonmail.com>2022-04-23 14:15:35 -0500
commit404bba9d518271533d5e4c83dabd8541726bf248 (patch)
treeeaf3abad243810279cd62e50b418aca1203f81a4 /app/static
parent5d08424481a8a6ae1b69c96a6ee43394d9aa8963 (diff)
downloadStrengthy-404bba9d518271533d5e4c83dabd8541726bf248.tar.xz
Strengthy-404bba9d518271533d5e4c83dabd8541726bf248.zip
Move routes into seperate folder
Diffstat (limited to 'app/static')
-rw-r--r--app/static/js/record.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/static/js/record.js b/app/static/js/record.js
new file mode 100644
index 0000000..fedbdd7
--- /dev/null
+++ b/app/static/js/record.js
@@ -0,0 +1,9 @@
+
+// Called when the check at the end of a set line is clicked
+function onClickSetCheck(elem) {
+ if (elem.classList.contains('is-success')) {
+ elem.classList.remove('is-success');
+ } else {
+ elem.classList.add('is-success');
+ }
+}