diff options
| -rw-r--r-- | assets/js/cmt.miracles.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/cmt.miracles.js b/assets/js/cmt.miracles.js index 1db4734..2a3fb45 100644 --- a/assets/js/cmt.miracles.js +++ b/assets/js/cmt.miracles.js @@ -108,7 +108,7 @@ var MiraclesComment = { function beforeComment() {
//禁用按钮
$('#comment-form .comment-submit').attr('disabled', true);
- $('.comment-form').addClass('comment-sending');
+ $('#comment-form').addClass('comment-sending');
$('#comment-form .comment-submit').text('提交中...');
};
beforeComment();
@@ -117,7 +117,7 @@ var MiraclesComment = { function afterComment(status) {
//取消禁用评论按钮
$('#comment-form .comment-submit').removeAttr('disabled');
- $('.comment-form').removeClass('comment-sending');
+ $('#comment-form').removeClass('comment-sending');
$('#comment-form .comment-submit').text('评论');
//判断是否评论成功
|
