diff --git a/zuss/app.js b/zuss/app.js index f410d0b..13c29cf 100644 --- a/zuss/app.js +++ b/zuss/app.js @@ -4,7 +4,7 @@ * - Install/Update Overlay mit beforeinstallprompt.prompt() */ -const APP_VERSION = "2025.12.24.12"; +const APP_VERSION = "2025.12.24.19"; const TOKEN = "T9e7WESBXxy6rSD"; const BASE = "https://home.x-s.at"; const SHARE_DAV = `${BASE}/public.php/dav/files/${TOKEN}`; @@ -247,10 +247,12 @@ function renderList(items, currentDir) { if (pdfs.length === 0) { setStatus("Keine PDFs gefunden."); + const cnt = $("titleCount"); if (cnt) cnt.textContent = "(0)"; return; } - setStatus(`PDFs: ${pdfs.length}`); + setStatus(""); + const cnt = $("titleCount"); if (cnt) cnt.textContent = `(${pdfs.length})`; for (const it of pdfs) { const a = document.createElement("a"); @@ -308,6 +310,7 @@ async function loadList() { } catch (e) { console.error(e); setStatus("Fehler"); + const cnt = $("titleCount"); if (cnt) cnt.textContent = ""; showError(String(e && e.message ? e.message : e)); } } diff --git a/zuss/index.html b/zuss/index.html index 26e6719..6f81ed8 100644 --- a/zuss/index.html +++ b/zuss/index.html @@ -11,139 +11,19 @@ +