I tamed the beast that was this stupid line of code

This commit is contained in:
Jesse James Isler 2022-03-31 14:03:32 +02:00
parent d41bea5e44
commit 0f16802dbc
1 changed files with 3 additions and 2 deletions

View File

@ -231,7 +231,8 @@
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() {