Update create.php
This commit is contained in:
parent
0f16802dbc
commit
163d7cec80
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user