diff --git a/templates/assets/js/tw_cn.js b/templates/assets/js/tw_cn.js index 1a4591bd..a8211d70 100644 --- a/templates/assets/js/tw_cn.js +++ b/templates/assets/js/tw_cn.js @@ -56,7 +56,7 @@ document.addEventListener("DOMContentLoaded", function () { } } function translatePage() { - if (rm) rm.hideRightMenu(); + if (rm && GLOBAL_CONFIG.rightMenuEnable) rm.hideRightMenu(); if (targetEncoding === 1) { currentEncoding = 1; targetEncoding = 2; diff --git a/templates/assets/zhheo/blogex.js b/templates/assets/zhheo/blogex.js index 8946cbd6..0363101e 100644 --- a/templates/assets/zhheo/blogex.js +++ b/templates/assets/zhheo/blogex.js @@ -617,6 +617,7 @@ function listenToPageInputPress() { function initBlog() { // 图片主色 GLOBAL_CONFIG.source.post.dynamicBackground && coverColor(), + GLOBAL_CONFIG.rightMenuEnable && addRightMenuClickEvent(), percent(), heo.topCategoriesBarScroll(), heo.initIndexEssay(), diff --git a/templates/assets/libs/twikoo/commentBarrage.css b/templates/assets/zhheo/commentBarrage.css similarity index 100% rename from templates/assets/libs/twikoo/commentBarrage.css rename to templates/assets/zhheo/commentBarrage.css diff --git a/templates/assets/libs/twikoo/commentBarrage.js b/templates/assets/zhheo/commentBarrage.js similarity index 100% rename from templates/assets/libs/twikoo/commentBarrage.js rename to templates/assets/zhheo/commentBarrage.js diff --git a/templates/assets/libs/twikoo/commentBarrage.min.css b/templates/assets/zhheo/commentBarrage.min.css similarity index 100% rename from templates/assets/libs/twikoo/commentBarrage.min.css rename to templates/assets/zhheo/commentBarrage.min.css diff --git a/templates/modules/head.html b/templates/modules/head.html index 7ae1f468..5eeddbe3 100644 --- a/templates/modules/head.html +++ b/templates/modules/head.html @@ -20,7 +20,7 @@ - +