Comments... because useful
This commit is contained in:
parent
4615c296b3
commit
f188768402
1 changed files with 3 additions and 1 deletions
|
|
@ -6,5 +6,7 @@ const add_choice = () => {
|
|||
let clone = choice_div.content.cloneNode(true);
|
||||
clone.childNodes[1].childNodes[1].id = `text-in-${index}`;
|
||||
clone.childNodes[1].childNodes[3].id = `weight-in-${index}`;
|
||||
|
||||
// Add to document without resetting the other ones
|
||||
document.getElementById("choices").appendChild(clone);
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue