We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a3baec commit 7863eecCopy full SHA for 7863eec
1 file changed
public/js/extra.js
@@ -792,7 +792,8 @@ const anchorForId = id => {
792
const linkifyAnchors = (level, containingElement) => {
793
const headers = containingElement.getElementsByTagName(`h${level}`);
794
795
- for (const header of headers) {
+ for (let i = 0, l = headers.length; i < l; i++) {
796
+ let header = headers[i];
797
if (header.getElementsByClassName("anchor").length == 0) {
798
if (typeof header.id == "undefined" || header.id == "") {
799
//to escape characters not allow in css and humanize
0 commit comments