Add article creation frontend

This commit is contained in:
Bruno Rybársky 2024-02-22 12:19:57 +01:00
parent aa1d474dfb
commit c478da8088

@ -190,7 +190,12 @@ async function submitarticle(){
} }
async function articleInit(){ async function articleInit(){
let articleContainerElement = document.getElementById("articlecreatecontainer");
articleContainerElement.addEventListener("keyup", function (ev) {
if(ev.which === 27){
togglearticlecreate();
}
})
} }
async function onPageLoad() { async function onPageLoad() {