fix label for attribute

This commit is contained in:
joshuaboud 2021-07-14 17:20:00 -03:00
parent 723941747c
commit ed34952894
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E
1 changed files with 1 additions and 1 deletions

View File

@ -140,8 +140,8 @@ export class ModalPrompt {
row.style.padding = "2px";
let request = requests[key];
let label = document.createElement("label");
label.for = key;
label.innerText = request.label;
label.htmlFor = key;
label.style.marginRight = "1em";
label.style.flexBasis = "0";
label.style.flexGrow = "1";