diff --git a/script.js b/script.js index cb811b5..3582f8b 100644 --- a/script.js +++ b/script.js @@ -6,6 +6,7 @@ document.addEventListener("DOMContentLoaded", () => { if(bodies.length === 1) { let body = bodies[0]; let cast = document.createElement("button"); + body.appendChild(cast); let cjs = new Castjs(); cast.addEventListener("click", () => { if(cjs.available) {