From 94ca903cec9fc5c131c949ea9bdac88a3d021707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Tue, 21 Jan 2025 12:01:47 +0100 Subject: [PATCH] =?UTF-8?q?Chyb=C4=9Bj=C3=ADc=C3=AD=20const?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- korektury/templates/korektury/korekturovatko/_main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korektury/templates/korektury/korekturovatko/_main.html b/korektury/templates/korektury/korekturovatko/_main.html index d12b6914..ee22f38b 100644 --- a/korektury/templates/korektury/korekturovatko/_main.html +++ b/korektury/templates/korektury/korekturovatko/_main.html @@ -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);