Comment out unnecessary code in renderer.js
This commit is contained in:
@@ -542,13 +542,15 @@ async function startLiveCountdown(folderObj, msLeft) {
|
|||||||
setTextColor(document.body.classList.contains('sky-mode') ? 'sky' : 'default');
|
setTextColor(document.body.classList.contains('sky-mode') ? 'sky' : 'default');
|
||||||
|
|
||||||
// Dynamischer Renderbutton
|
// Dynamischer Renderbutton
|
||||||
|
/* statt dessen einfach den tree auslesen
|
||||||
const readmePath = path.join(folderPath, 'README.md');
|
const readmePath = path.join(folderPath, 'README.md');
|
||||||
if (fs.existsSync(readmePath)) {
|
if (fs.existsSync(readmePath)) {
|
||||||
readmeBtn.textContent = 'Update README';
|
readmeBtn.textContent = 'Update README';
|
||||||
} else {
|
} else {
|
||||||
readmeBtn.textContent = 'Generate README';
|
readmeBtn.textContent = 'Generate README';
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// --- Seitenwahl beim Ordnerwechsel ---
|
// --- Seitenwahl beim Ordnerwechsel ---
|
||||||
let usePage = page;
|
let usePage = page;
|
||||||
if (!usePage || folder !== lastFolderPath) {
|
if (!usePage || folder !== lastFolderPath) {
|
||||||
|
|||||||
Reference in New Issue
Block a user