Update create.php

This commit is contained in:
Jesse James Isler 2022-03-31 14:08:28 +02:00
parent 9fe142ba0c
commit cfb48db659

View File

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