diff options
Diffstat (limited to 'includes/comments.php')
| -rw-r--r-- | includes/comments.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/comments.php b/includes/comments.php index 78b6357..7439c90 100644 --- a/includes/comments.php +++ b/includes/comments.php @@ -54,7 +54,7 @@ echo $commentClass; <?php $this->comments()->to($comments); ?>
<?php if($this->fields->commentShow == 0)://如果显示评论列表 ?>
<?php if ($comments->have())://如果有评论 则显示 ?>
- <div class="comment-container">
+ <div class="comment-container" id="comments">
<h3 class="comment-title" id="response"><?php $this->commentsNum(_t('暂无评论'), _t('已有 1 条评论'), _t('已有 %d 条评论')); ?></h3>
<?php $comments->listComments(array(
'before' => '<div class="comment-list" role="list">',
@@ -109,4 +109,4 @@ echo $commentClass; </div>
</div>
<?php //兼容 typecho 反垃圾
- if ($this->options->commentsAntiSpam) { Comments::AntiSpam($this->respondId, Typecho_Common::shuffleScriptVar($this->security->getToken(preg_replace('/\??&?_pjax=[^&]+/i','',$this->request->getRequestUrl())))); } ?>
\ No newline at end of file + if ($this->options->commentsAntiSpam) { Comments::AntiSpam($this->respondId, Typecho_Common::shuffleScriptVar($this->security->getToken(preg_replace('/\??&?_pjax=[^&]+/i','',$this->request->getRequestUrl())))); } ?>
|
