Update create.php

This commit is contained in:
Jesse James Isler 2022-03-31 14:04:48 +02:00
parent 0f16802dbc
commit 163d7cec80
1 changed files with 2 additions and 1 deletions

View File

@ -218,6 +218,7 @@
updateColor(); updateColor();
updateDescription(); updateDescription();
updateHowToPlay(); updateHowToPlay();
updateGoodRoles();
} }
@ -234,7 +235,7 @@
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));
} }
function updateDescription() { function updateDescription() {
document.getElementById("carddescription").innerHTML = document.getElementById("description").value; document.getElementById("carddescription").innerHTML = document.getElementById("description").value;
} }