diff --git a/js/editor.js b/js/editor.js index 81a3350..a70aec9 100644 --- a/js/editor.js +++ b/js/editor.js @@ -63,9 +63,10 @@ /* ---------- Init ---------- */ function init() { - // Leer-Zustand: Canvas-Wrap als A4-Hochformat-Platzhalter markieren + // Leer-Zustand nur wenn GAR keine Seite existiert const wrapEmpty = document.querySelector('.bericht-canvas-wrap'); - if (wrapEmpty) wrapEmpty.classList.add('empty'); + const hasAnyThumb = !!document.querySelector('#bericht-page-list .page-thumb'); + if (wrapEmpty && !hasAnyThumb) wrapEmpty.classList.add('empty'); // Gespeicherte Einstellungen anwenden — VOR Fabric-Init const s = loadSettings();