From e81dc8e8aca1709cf97b99e4814bf47b460bb572 Mon Sep 17 00:00:00 2001 From: bruno Date: Thu, 22 Feb 2024 10:48:49 +0100 Subject: [PATCH] Add article creation frontend --- assets/script.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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() {