diff --git a/create.php b/create.php index 5aa9256..ac39788 100644 --- a/create.php +++ b/create.php @@ -233,7 +233,8 @@ function updateGoodRoles() { let selected = document.querySelectorAll('#tplaysbestwith option:checked'); 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() {