Merge branch 'dev'

This commit is contained in:
Jerry committed 2025-07-09 13:25:05 +08:00
commit 736cd75cda
4 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
script.
(() = {
(() => {
const abcjsInit = () => {
const abcjsFn = () => {
setTimeout(() => {
@@ -18,7 +18,9 @@ script.
includeReply: false
}).then(function (res) {
document.querySelectorAll('#recent-posts .twikoo-count').forEach((item,index) => {
if (res[index]) {
item.textContent = res[index].count
}
})
}).catch(function (err) {
console.log(err)
+3 -3
View File
@@ -3,7 +3,7 @@
script.
(() => {
const isShuoshuo = GLOBAL_CONFIG_SITE.pageType === 'shuoshuo'
const option = !{JSON.stringify(option)}
const options = !{JSON.stringify(option)}
const loadScript = src => {
const script = document.createElement('script')
@@ -42,8 +42,8 @@ script.
host: '!{host}',
site_id: '!{siteId}',
theme: document.documentElement.getAttribute('data-theme') === 'dark' ? 'dark' : 'light',
...option,
url: isShuoshuo ? window.location.origin + path : (option && option.url) || window.location.origin + window.location.pathname
...options,
url: isShuoshuo ? window.location.origin + path : (options && options.url) || window.location.origin + window.location.pathname
}
if (window.REMARK42) {
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff. Show more