fix a display bug

This commit is contained in:
Daniella / Tove 2022-01-19 12:32:19 +01:00 committed by GitHub
parent 05564258ec
commit 9cbdc62f2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,10 +120,10 @@
if(postid != -1)
ret += `<a href="/post/${postid}">[Nevermind]</a>`
ret +=
`</div><post><div class="content"><form><label>` +
`</div></div><post><div class="content"><form><label>` +
`<h3><input type="username" name="name" value="Anonymous" required>: <input type="text" name="title" placeholder="Title" required></h3>` +
`<textarea name="content" placeholder="So basically, ..." required></textarea><br/><br/><button type="submit">Submit</button>` +
`</label></form></div></post>`
`</label></form></div></post><div>`
}
else
ret += `<a href="/comment/${postid}/${id}">[Reply]</a> </div>`