fix: fix icon css bug

This commit is contained in:
Dillon
2019-08-26 15:17:21 +08:00
parent 7639927bd5
commit 45c9281131
11 changed files with 26 additions and 20 deletions

View File

@@ -115,7 +115,7 @@ jQuery(function($) {
const headers = document.querySelectorAll('.post-content>h' + num);
for (let i = 0; i < headers.length; i++) {
const header = headers[i];
header.innerHTML = `<a href="#${header.id}" class="headerlink anchor"><i class="iconfont icon-link"></i></a>${header.innerHTML}`;
header.innerHTML = `<a href="#${header.id}" class="headerlink"></a>${header.innerHTML}`;
}
}
};