I tamed the beast that was this stupid line of code
This commit is contained in:
parent
d41bea5e44
commit
0f16802dbc
@ -231,9 +231,10 @@
|
||||
|
||||
function updateGoodRoles() {
|
||||
let goodRoles = document.getElementById('rolecolor').value;
|
||||
goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendchild(document.createElement("LI")appendchild(.document.createTextNode(element)));
|
||||
let x = document.createElement("LI").appendchild(document.createTextNode(element));
|
||||
goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendchild(x));
|
||||
}
|
||||
|
||||
|
||||
function updateDescription() {
|
||||
document.getElementById("carddescription").innerHTML = document.getElementById("description").value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user