diff --git a/assets/script.js b/assets/script.js index 5c336c2..7394445 100644 --- a/assets/script.js +++ b/assets/script.js @@ -273,7 +273,7 @@ async function onPageLoad() { if ("news" === currentSite && "index" === currentPage) { await articleInit(); } - if ("files" === currentSite && "list" === currentPage) { + if ("files" === currentSite && "index" === currentPage) { await listFiles(); } if ("memes" === currentSite && "create" === currentPage) {