We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headerIds
const
1 parent 7c5ac36 commit aaf9466Copy full SHA for aaf9466
1 file changed
public/js/extra.js
@@ -943,7 +943,7 @@ export function deduplicatedHeaderId (view) {
943
// all headers contained in the document, in order of appearance
944
const allHeaders = view.find(`:header`).toArray()
945
// list of finaly assigned header IDs
946
- let headerIds = new Set()
+ const headerIds = new Set()
947
for (let j = 0; j < allHeaders.length; j++) {
948
const $header = $(allHeaders[j])
949
const id = $header.attr('id')
0 commit comments