Add post creation with modals, make XSS responses 400 http code

This commit is contained in:
csd4ni3l
2025-10-24 20:36:54 +02:00
parent 7c600a2a67
commit 57237899f5
3 changed files with 72 additions and 5 deletions

View File

@@ -153,7 +153,6 @@ function unlight_pumpkin(ctx, cell_size, currentPattern) {
function setup_lightbtn(ctx, cell_size, lightbtn_id, pattern) {
let lit = { value: false };
document.getElementById(lightbtn_id).addEventListener('click', function(event) {
if (lit.value) {
lit.value = false;