Commit aaf94664 authored by hoijui's avatar hoijui
Browse files

make `headerIds` `const` [fix]

Signed-off-by: default avatarhoijui <>
parent 7c5ac360
......@@ -943,7 +943,7 @@ export function deduplicatedHeaderId (view) {
// all headers contained in the document, in order of appearance
const allHeaders = view.find(`:header`).toArray()
// list of finaly assigned header IDs
let headerIds = new Set()
const headerIds = new Set()
for (let j = 0; j < allHeaders.length; j++) {
const $header = $(allHeaders[j])
const id = $header.attr('id')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment