diff --git a/frontend/flashcards.html b/frontend/flashcards.html index 5a6a32e..02d1bd4 100644 --- a/frontend/flashcards.html +++ b/frontend/flashcards.html @@ -694,6 +694,7 @@ let _curDeckReadonly = false; // общая колода (не вла let _shareData = { shares: [], classes: [], students: [] }; let _shareTab = 'class'; let _shareSet = new Set(); // ключи 'class:' / 'user:' текущих назначений +let _collLabels = null; // { collectionKey: label } для заголовков папок-коллекций (объявлено ДО init, иначе TDZ) (async () => { /* ── auth ── */ @@ -747,7 +748,6 @@ function bindStudyKeys() { }); } -let _collLabels = null; // { collectionKey: label } для заголовков папок-коллекций async function loadDecks() { const [decks, stats, tracks] = await Promise.all([ LS.api('/api/flashcards/decks').catch(()=>({decks:[]})),