forked from Adleraci/adlerka.top
Fix articles
This commit is contained in:
@@ -213,13 +213,13 @@ async function submitarticle(){
|
||||
"Nastala chyba pri pridávaní článku",
|
||||
false
|
||||
);
|
||||
togglearticlecreate();
|
||||
await togglearticlecreate();
|
||||
}
|
||||
|
||||
async function articleInit(){
|
||||
let articleContainerElement = document.getElementById("articlecreatecontainer");
|
||||
articleContainerElement.addEventListener("keyup", function (ev) {
|
||||
if(ev.which === 27){
|
||||
if(ev.key === "Escape"){
|
||||
togglearticlecreate();
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user