diff options
| author | stilbruch <stilbruch@protonmail.com> | 2022-04-23 14:15:35 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonmail.com> | 2022-04-23 14:15:35 -0500 |
| commit | 404bba9d518271533d5e4c83dabd8541726bf248 (patch) | |
| tree | eaf3abad243810279cd62e50b418aca1203f81a4 /app/static/js | |
| parent | 5d08424481a8a6ae1b69c96a6ee43394d9aa8963 (diff) | |
| download | Strengthy-404bba9d518271533d5e4c83dabd8541726bf248.tar.xz Strengthy-404bba9d518271533d5e4c83dabd8541726bf248.zip | |
Move routes into seperate folder
Diffstat (limited to 'app/static/js')
| -rw-r--r-- | app/static/js/record.js | 9 |
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'); + } +} |
