Private
Public Access
1
0

fixed caret in training planning

This commit is contained in:
Sander Roosendaal
2019-05-10 13:00:10 +02:00
parent 278d8ac903
commit 0308028dac
2 changed files with 5 additions and 2 deletions

View File

@@ -10,12 +10,13 @@
function toggle(source) {
checkboxes = document.querySelectorAll("input[type='checkbox']");
for (var i=0, n=checkboxes.length;i<n;i++) {
if (checkboxes[i].name.includes('selector')) {
if (checkboxes[i].name.includes('selector')) {
checkboxes[i].checked = source.checked
}
}
}
</script>
</script>
<h1>Training Plan - {{ plan.name }}</h1>
<p>This plan starts on {{ plan.startdate }} and ends on {{ plan.enddate }}.