mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 14:31:12 +08:00
1 parent
47347e5364
commit
6601340fcc
1 file changed
+2
-2
@@ -11704,8 +11704,8 @@ function renderOutlines(reset = true) {
|
||||
state.outlineSelection = null;
|
||||
}
|
||||
const outlines = state.doc?.outlines || [];
|
||||
el.pageListTitle.hidden = true;
|
||||
el.navigationTabs.hidden = false;
|
||||
el.pageListTitle.hidden = Boolean(state.doc);
|
||||
el.navigationTabs.hidden = !state.doc;
|
||||
el.outlinesTab.hidden = outlines.length === 0 && !state.editing;
|
||||
el.outlineList.replaceChildren();
|
||||
if (state.editing) {
|
||||
|
||||
Reference in new issue
Block a user