Skip to content

Commit aaf9466

Browse files
committed
make headerIds const [fix]
Signed-off-by: hoijui <[email protected]>
1 parent 7c5ac36 commit aaf9466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/extra.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ export function deduplicatedHeaderId (view) {
943943
// all headers contained in the document, in order of appearance
944944
const allHeaders = view.find(`:header`).toArray()
945945
// list of finaly assigned header IDs
946-
let headerIds = new Set()
946+
const headerIds = new Set()
947947
for (let j = 0; j < allHeaders.length; j++) {
948948
const $header = $(allHeaders[j])
949949
const id = $header.attr('id')

0 commit comments

Comments
 (0)