diff --git a/create.php b/create.php index 1deaa38..cf5203a 100644 --- a/create.php +++ b/create.php @@ -218,6 +218,7 @@ updateColor(); updateDescription(); updateHowToPlay(); + updateGoodRoles(); } @@ -234,7 +235,7 @@ let x = document.createElement("LI").appendchild(document.createTextNode(element)); goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendchild(x)); } - + function updateDescription() { document.getElementById("carddescription").innerHTML = document.getElementById("description").value; }