From 4b14772bc37d57482f9d1da6581329a8fbdc4cc7 Mon Sep 17 00:00:00 2001 From: FivePixels Date: Wed, 4 May 2022 16:10:08 -0500 Subject: Add time units (seconds) to input placeholder, on record_select update no workouts message --- app/static/js/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/static/js') 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'); -- cgit v1.2.3