diff options
author | Christoph (Sheogorath) Kern | 2018-11-19 21:33:34 +0100 |
---|---|---|
committer | GitHub | 2018-11-19 21:33:34 +0100 |
commit | 271dff3808618d0422a52ff5da8cf187bf350b3d (patch) | |
tree | 9c106cf0dc1ac23d166fa0367ec19408dccd1d54 /public/js/index.js | |
parent | f46a84ab5490733b5c28f14ef904176a7354464a (diff) | |
parent | d6dd33620c7bea3720361d51ab04668a0c913cce (diff) |
Merge pull request #1043 from SISheogorath/fix/tocEmptyHead
Fix ToC breaking documents with empty h* elements
Diffstat (limited to 'public/js/index.js')
-rw-r--r-- | public/js/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js index 0c575961..c2969e92 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2788,6 +2788,7 @@ function updateViewInner () { renderTOC(ui.area.markdown) generateToc('ui-toc') generateToc('ui-toc-affix') + autoLinkify(ui.area.markdown) generateScrollspy() updateScrollspy() smoothHashScroll() |