diff --git a/assets/script.js b/assets/script.js index edc8f83..1dd11e7 100644 --- a/assets/script.js +++ b/assets/script.js @@ -190,10 +190,7 @@ async function submitarticle(){ } async function articleInit(){ - let articleSubmitElement = document.getElementById("articlesubmit"); - let articleAddElement = document.getElementById("articlecreateopen"); - articleAddElement.addEventListener("click", togglearticlecreate); - articleSubmitElement.addEventListener("click", submitarticle); + } async function onPageLoad() {