Skip to content

Commit

Permalink
feat(web): properly set for attribute for labels (#1626)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbtucker committed Jan 8, 2021
1 parent 426a8ce commit c0638d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/index.html
Expand Up @@ -29,7 +29,7 @@
}
list.appendChild(htmlElement);
const htmlLabelElement = document.createElement('label');
htmlLabelElement.for = name;
htmlLabelElement.setAttribute('for', name);
htmlLabelElement.innerText = element;
list.appendChild(htmlLabelElement);
list.appendChild(document.createElement('br'));
Expand Down

0 comments on commit c0638d2

Please sign in to comment.