do not remove "for" for accessibility and reusability purposes
This commit is contained in:
parent
d52847635f
commit
1a011d2a65
2 changed files with 3 additions and 5 deletions
|
@ -149,8 +149,6 @@ export default class windowman {
|
|||
} else {
|
||||
text_element.innerText = text_inserted;
|
||||
}
|
||||
|
||||
text_element.removeAttribute(`for`);
|
||||
});
|
||||
|
||||
delete text_elements[`content`];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue