diff --git a/index.php b/index.php index a240cfe..f82fa3c 100644 --- a/index.php +++ b/index.php @@ -1,7 +1,7 @@ "; + $script_obsah = ""; if (!file_exists($cesta_k_skriptu)) { $script_obsah = ''; } diff --git a/scripty/dano.js b/scripty/dano.js index fb88def..2963a96 100644 --- a/scripty/dano.js +++ b/scripty/dano.js @@ -1,5 +1,3 @@ -document.onload = function () { - const response = fetch("/index.php?listfiles=1"); - const tabulka = document.getElementById("tabulka"); - tabulka.innerHTML = response.text; -} \ No newline at end of file +const response = fetch("/index.php?listfiles=1"); +const tabulka = document.getElementById("tabulka"); +tabulka.innerHTML = response.text; \ No newline at end of file