Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix: Hamburger menu #105

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Hotfix: Hamburger menu #105

merged 1 commit into from
Sep 30, 2024

Conversation

subhramit
Copy link
Member

@subhramit subhramit commented Sep 30, 2024

The absence of toc causes the ## tagged headings to bug and somehow disable the hamburger menu:

document.querySelector("main h2, main h3") && (tocbot.init({
    tocSelector: "#toc",
    contentSelector: ".content",
    ignoreSelector: "[data-toc-skip]",
    headingSelector: "h2, h3, h4",
    orderedList: !1,
    scrollSmooth: !1
}),
document.getElementById("toc-wrapper").classList.remove("d-none"))

Difference from minimal chirpy theme was the bool flag that enabled toc:
image

@Siedlerchr Siedlerchr merged commit 27bd42b into JabRef:main Sep 30, 2024
2 checks passed
@subhramit subhramit deleted the fix-burger branch October 3, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants