Add article creation frontend
This commit is contained in:
parent
5090c8e4bd
commit
e81dc8e8ac
@ -190,10 +190,7 @@ async function submitarticle(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function articleInit(){
|
async function articleInit(){
|
||||||
let articleSubmitElement = document.getElementById("articlesubmit");
|
|
||||||
let articleAddElement = document.getElementById("articlecreateopen");
|
|
||||||
articleAddElement.addEventListener("click", togglearticlecreate);
|
|
||||||
articleSubmitElement.addEventListener("click", submitarticle);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function onPageLoad() {
|
async function onPageLoad() {
|
||||||
|
Loading…
Reference in New Issue
Block a user