Chybějící const

This commit is contained in:
Jonas Havelka 2025-01-21 12:01:47 +01:00
parent 50936e2b50
commit 94ca903cec

View file

@ -30,7 +30,7 @@
function zmenStavKorektury(event) {
event.preventDefault();
oprava = event.target.parentElement.parentElement.parentElement.parentElement;
const oprava = event.target.parentElement.parentElement.parentElement.parentElement;
const data = new FormData(event.target);
data.append("action", event.submitter.value);