Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:部分站点文章点赞按钮和昼夜切换按钮不显示 #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wpbkj
Copy link

@wpbkj wpbkj commented Dec 26, 2022

部分站点由于js原因会使得文章点赞按钮和昼夜切换按钮无法显示,使用id获取js对象修复
具体请看https://www.wpbkj.com/archives/Joe-Theme-Svg-JavaScript-Error.html
改变文件:
"public\handle.php"->为点赞按钮加上id
"public\footer.php"->为昼夜切换按钮加上id
"assets\js\joe.post_page.js","assets\js\joe.post_page.min.js"->使用id获取对象并动态更改class属性(点赞按钮)
"assets\js\joe.global.js","assets\js\joe.global.min.js"->使用id获取对象并动态更改class属性(昼夜切换按钮)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant