diff --git a/scripts/myscript.js b/scripts/myscript.js index 0937624..2c06378 100644 --- a/scripts/myscript.js +++ b/scripts/myscript.js @@ -7,6 +7,6 @@ window.onload = function() { obox.style.right = "20px"; obox.style.bottom = "100px"; - var sbox = document.getElementsByClassName(".page-inner")[0]; + var sbox = document.getElementsByClassName("page-inner")[0]; sbox.appendChild(obox); } \ No newline at end of file