From c1c9a9133abc7fef102fa22356eb70e960bccf30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Jan=C4=8D=C3=A1r?= Date: Wed, 29 May 2024 12:23:19 +0200 Subject: [PATCH] helpdavid --- scripty/dano.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripty/dano.js b/scripty/dano.js index 9c53d2f..f60f3ee 100644 --- a/scripty/dano.js +++ b/scripty/dano.js @@ -1,6 +1,6 @@ async function dokelu() { const response = await fetch("/index.php?listfiles=1"); const tabulka = document.getElementById("tabulka"); - tabulka.innerHTML = response.text; + tabulka.innerHTML = await response.text(); } dokelu(); \ No newline at end of file