diff options
| author | FivePixels <o5pxels@gmail.com> | 2022-05-04 16:10:08 -0500 |
|---|---|---|
| committer | FivePixels <o5pxels@gmail.com> | 2022-05-04 16:10:08 -0500 |
| commit | 4b14772bc37d57482f9d1da6581329a8fbdc4cc7 (patch) | |
| tree | 8f9d6ac393e936d23de86a4caef50e8f12375ae9 /app/static/js | |
| parent | bbb1b6dba1e856872362f66d9c387e0a9e7e0a0f (diff) | |
| download | Strengthy-4b14772bc37d57482f9d1da6581329a8fbdc4cc7.tar.xz Strengthy-4b14772bc37d57482f9d1da6581329a8fbdc4cc7.zip | |
Add time units (seconds) to input placeholder, on record_select update
no workouts message
Diffstat (limited to 'app/static/js')
| -rw-r--r-- | app/static/js/create.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/static/js/create.js b/app/static/js/create.js index b65bc5a..0f63956 100644 --- a/app/static/js/create.js +++ b/app/static/js/create.js @@ -36,7 +36,7 @@ document.getElementById("add").onclick = handleAdd; function handleChange(elem) { if (elem.target.value == 'time') { - elem.target.parentNode.parentNode.parentNode.children[1].placeholder = "Time"; + elem.target.parentNode.parentNode.parentNode.children[1].placeholder = "Time (in seconds)"; elem.target.parentNode.parentNode.parentNode.children[1].selected = true; elem.target.parentNode.parentNode.children[1].children[0].classList.remove('fa-calculator'); elem.target.parentNode.parentNode.children[1].children[0].classList.add('fa-clock-o'); |
