summaryrefslogtreecommitdiff
path: root/app/static
diff options
context:
space:
mode:
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');
+ }
+}