fix(typeit): fix a TypeIt header link style bug

This commit is contained in:
Dillon
2020-03-10 03:37:27 +08:00
parent 426e24598d
commit 7f228d6134
5 changed files with 6 additions and 6 deletions

View File

@@ -96,7 +96,7 @@
for (let num = 1; num <= 6; num++) {
this.util.forEach(document.querySelectorAll('.page.single .content > h' + num), (header) => {
header.classList.add('headerLink');
header.innerHTML = `<a href="#${header.id}"></a>${header.innerHTML}`;
header.innerHTML = `<a href="#${header.id}" class="header-mark"></a>${header.innerHTML}`;
});
}
}