debugging

This commit is contained in:
Jesse James Isler 2022-03-31 14:06:39 +02:00
parent 163d7cec80
commit 9fe142ba0c

View File

@ -232,6 +232,7 @@
function updateGoodRoles() { function updateGoodRoles() {
let goodRoles = document.getElementById('rolecolor').value; let goodRoles = document.getElementById('rolecolor').value;
console.log(goodRoles);
let x = document.createElement("LI").appendchild(document.createTextNode(element)); let x = document.createElement("LI").appendchild(document.createTextNode(element));
goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendchild(x)); goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendchild(x));
} }