mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-19 23:28:30 +00:00
feat(web): properly set for attribute for labels (#1626)
This commit is contained in:
+1
-1
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user