mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -04:00
Merge pull request #1043 from SISheogorath/fix/tocEmptyHead
Fix ToC breaking documents with empty h* elements
This commit is contained in:
commit
271dff3808
3 changed files with 9 additions and 6 deletions
|
@ -2788,6 +2788,7 @@ function updateViewInner () {
|
|||
renderTOC(ui.area.markdown)
|
||||
generateToc('ui-toc')
|
||||
generateToc('ui-toc-affix')
|
||||
autoLinkify(ui.area.markdown)
|
||||
generateScrollspy()
|
||||
updateScrollspy()
|
||||
smoothHashScroll()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue