forked from Adleraci/adlerka.top
Add article creation frontend
This commit is contained in:
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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user