debugging

This commit is contained in:
Jesse James Isler 2022-03-31 14:20:52 +02:00
parent 975d4a31f6
commit c159ed0f65

View File

@ -233,7 +233,8 @@
function updateGoodRoles() { function updateGoodRoles() {
let selected = document.querySelectorAll('#tplaysbestwith option:checked'); let selected = document.querySelectorAll('#tplaysbestwith option:checked');
let goodRoles = Array.from(selected).map(el => el.value); let goodRoles = Array.from(selected).map(el => el.value);
goodRoles.forEach((element) => document.getElementById("tplaysbestwith").appendchild(document.createElement("LI").appendchild(document.createTextNode(element)))); goodroles.forEach(element => console.log(element));
// goodRoles.forEach((element) => document.getElementById("tplaysbestwith").appendchild(document.createElement("LI").appendchild(document.createTextNode(element))));
} }
function updateDescription() { function updateDescription() {