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:
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 5919e0f..518923f 100644
--- a/src/js/theme.js
+++ b/src/js/theme.js
@@ -397,7 +397,7 @@ class Theme {
initToc() {
const $tocCore = document.getElementById('TableOfContents');
if ($tocCore === null) return;
- if (document.getElementById('toc-static').getAttribute('kept') || this.util.isTocStatic()) {
+ if (document.getElementById('toc-static').getAttribute('data-kept') || this.util.isTocStatic()) {
const $tocContentStatic = document.getElementById('toc-content-static');
if ($tocCore.parentElement !== $tocContentStatic) {
$tocCore.parentElement.removeChild($tocCore);