Skip to content

Commit 724a482

Browse files
committed
remove code that was added to the library
1 parent 79e5669 commit 724a482

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/hooks/journal.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,5 @@ export default function() {
2121
html.classList.remove("classic-font");
2222
}
2323
}
24-
25-
for(let header of html.querySelectorAll(".no-toc"))
26-
{
27-
html.querySelector(`nav [data-anchor='${header.dataset.anchor}']`)?.remove();
28-
}
29-
3024
});
31-
32-
Hooks.on("renderJournalEntryPageProseMirrorSheet", (sheet, html) => {
33-
let selector = html.querySelector("[name='title.level']");
34-
selector?.insertAdjacentHTML("beforeend", `<option value='4' ${sheet.document.title.level == 4 ? "selected" : ""}>Level 4</option>`)
35-
})
3625
}

0 commit comments

Comments
 (0)