We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3919d4f commit 8c2b00bCopy full SHA for 8c2b00b
public/js/extra.js
@@ -750,7 +750,7 @@ export function generateToc (id) {
750
'targetId': id,
751
'process': getHeaderContent
752
})
753
- /* eslint-enable no-unsed-vars */
+ /* eslint-enable no-unused-vars */
754
if (target.text() === 'undefined') { target.html('') }
755
const tocMenu = $('<div class="toc-menu"></div')
756
const toggle = $('<a class="expand-toggle" href="#">Expand all</a>')
@@ -888,7 +888,7 @@ export function renderTOC (view) {
888
const target = $(`#${id}`)
889
target.html('')
890
/* eslint-disable no-unused-vars */
891
- var toc = new window.Toc('doc', {
+ let TOC = new window.Toc('doc', {
892
'level': 3,
893
'top': -1,
894
'class': 'toc',
0 commit comments