feat(rss): add rssFullText param for RSS (#301)

This commit is contained in:
Dillon
2020-05-01 23:29:24 +08:00
committed by GitHub
parent 5b689bf29b
commit e3e3bdf9ee
32 changed files with 113 additions and 127 deletions

View File

@@ -413,6 +413,7 @@ class Theme {
const rect = $page.getBoundingClientRect();
$toc.style.left = `${rect.left + rect.width + 20}px`;
$toc.style.maxWidth = `${$page.getBoundingClientRect().left - 20}px`;
$toc.style.visibility = 'visible';
const $tocLinkElements = $tocCore.querySelectorAll('a:first-child');
const $tocLiElements = $tocCore.getElementsByTagName('li');
const $headerLinkElements = document.getElementsByClassName('headerLink');