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-05-01 18:29:24 +0300
committerGitHub <noreply@github.com>2020-05-01 18:29:24 +0300
commite3e3bdf9ee64d8732216b2182ec2bac9f3d4e1e1 (patch)
treefd27f6d66465ab797f7ef2691092d57853d9aca3 /src
parent5b689bf29b6a74f1f26eecfae5cdeecbf45ab96c (diff)
feat(rss): add rssFullText param for RSS (#301)
Diffstat (limited to 'src')
-rw-r--r--src/js/theme.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/theme.js b/src/js/theme.js
index 3d1ab09..0f25881 100644
--- a/src/js/theme.js
+++ b/src/js/theme.js
@@ -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');