Skip to content

Commit

Permalink
fix issue #92
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Sep 19, 2020
1 parent 42b7034 commit 351a560
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ Argon 使用 [GPL V3.0](https://github.com/solstice23/argon-theme/blob/master/LI

# 更新日志

## 20200920 v1.0.3
+ 修复评论回复和 Pjax 冲突
+ 博主登录后自动填充加密文章密码

## 20200830 v1.0.2
+ 增加 双栏(反转) 页面布局
+ 修复和优化文章字数统计
Expand Down
11 changes: 10 additions & 1 deletion argontheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,15 @@ if (argonConfig.headroom){
$(document).on("click" , ".comment-reply" , function(){
reply(this.getAttribute("data-id"));
});
$(document).on("click" , "#post_comment_reply_cancel" , function(){
$(document).on("click pjax:click" , "#post_comment_reply_cancel" , function(){
cancelReply();
});
$(document).on("pjax:click" , function(){
replying = false;
replyID = 0;
$('#post_comment_reply_info').css("display", "none");
$("#post_comment").removeClass("post-comment-force-privatemode-on post-comment-force-privatemode-off");
});
//编辑评论
editing = false , editID = 0;
function edit(commentID){
Expand Down Expand Up @@ -609,6 +615,9 @@ if (argonConfig.headroom){
}, 300);
cancelEdit(true);
});
$(document).on("pjax:click" , function(){
cancelEdit(true);
});

//显示/隐藏额外输入框 (评论者网站)
$(document).on("click" , "#post_comment_toggle_extra_input" , function(){
Expand Down
4 changes: 2 additions & 2 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version" : "1.0.2",
"version" : "1.0.3",
"details_url" : "https://github.com/solstice23/argon-theme/releases",
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v1.0.2/argon.zip"
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v1.0.3/argon.zip"
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: argon
Author: solstice23
Author URI: https://solstice23.top/
Description: 轻盈、简洁、美观的 Wordpress 主题
Version: 1.0.2
Version: 1.0.3
License: GNU General Public License v3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: 简约, 两栏, 侧栏在左边, 浮动侧栏, 文章目录, 自适应, 夜间模式, 可自定义
Expand Down

0 comments on commit 351a560

Please sign in to comment.