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

github.com/uPagge/uBlogger.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-02-21 18:42:35 +0300
committerDillon <dillonzq@outlook.com>2020-02-21 18:42:35 +0300
commit4e6fe224cc1934aa0459b2d888f243463bb998f7 (patch)
tree7f4a04449ba1ca8ee8b5cdf466c18a04868a3bcf /src
parent611518ddd17e736ee5dc246ec13b203950765934 (diff)
chore(partials): refactor partials
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 f6e1460..68087b8 100644
--- a/src/js/theme.js
+++ b/src/js/theme.js
@@ -94,7 +94,7 @@
initHeaderLink() {
for (let num = 1; num <= 6; num++) {
- this.util.forEach(document.querySelectorAll('.content > h' + num), (header) => {
+ this.util.forEach(document.querySelectorAll('.page.single .content > h' + num), (header) => {
header.classList.add('headerLink');
header.innerHTML = `<a href="#${header.id}"></a>${header.innerHTML}`;
});