1
0

Comment out unnecessary code in renderer.js

This commit is contained in:
2025-05-26 22:57:32 +02:00
parent 9ecaa8943f
commit e922eeb9da

View File

@@ -542,13 +542,15 @@ async function startLiveCountdown(folderObj, msLeft) {
setTextColor(document.body.classList.contains('sky-mode') ? 'sky' : 'default');
// Dynamischer Renderbutton
/* statt dessen einfach den tree auslesen
const readmePath = path.join(folderPath, 'README.md');
if (fs.existsSync(readmePath)) {
readmeBtn.textContent = 'Update README';
} else {
readmeBtn.textContent = 'Generate README';
}
*/
// --- Seitenwahl beim Ordnerwechsel ---
let usePage = page;
if (!usePage || folder !== lastFolderPath) {