Add article creation frontend
This commit is contained in:
parent
ac95ba5b60
commit
5090c8e4bd
@ -191,7 +191,8 @@ async function submitarticle(){
|
||||
|
||||
async function articleInit(){
|
||||
let articleSubmitElement = document.getElementById("articlesubmit");
|
||||
await togglearticlecreate();
|
||||
let articleAddElement = document.getElementById("articlecreateopen");
|
||||
articleAddElement.addEventListener("click", togglearticlecreate);
|
||||
articleSubmitElement.addEventListener("click", submitarticle);
|
||||
}
|
||||
|
||||
|
@ -373,6 +373,9 @@ body:has(.ye-span:hover) {
|
||||
}
|
||||
|
||||
#articlecreatecontainer{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
position: fixed;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
Loading…
Reference in New Issue
Block a user