Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dillonzq/LoveIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-04-22 12:50:30 +0300
committerGitHub <noreply@github.com>2020-04-22 12:50:30 +0300
commit3c38d54a87fcc844075c4ee8efc1ce1d85ac5117 (patch)
treef1afda359659fcc392b5dde916b09a17c2b09e0c /src
parenta0ab272f7d22d1ca4dc9a6ceb467a1f6d8dcd8ae (diff)
feat(home): add custom content for home page (#248)
Diffstat (limited to 'src')
-rw-r--r--src/js/theme.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/theme.js b/src/js/theme.js
index df7f83c9..1c4c9d39 100644
--- a/src/js/theme.js
+++ b/src/js/theme.js
@@ -325,7 +325,7 @@ class Theme {
initHeaderLink() {
for (let num = 1; num <= 6; num++) {
- this.util.forEach(document.querySelectorAll('.page.single .content > h' + num), $header => {
+ this.util.forEach(document.querySelectorAll('.single .content > h' + num), $header => {
$header.classList.add('headerLink');
$header.innerHTML = `<a href="#${$header.id}" class="header-mark"></a>${$header.innerHTML}`;
});