summaryrefslogtreecommitdiff
path: root/file.php
diff options
context:
space:
mode:
author阔落 <45323514+BigCoke233@users.noreply.github.com>2019-04-06 16:48:17 +0800
committerGitHub <noreply@github.com>2019-04-06 16:48:17 +0800
commitbf183e944f0cbb924b73c84d2c8cdb7b59d35eb1 (patch)
treef6530294df83ec1991b92c5c8dfa64b224b34e34 /file.php
parent43156f86f3e167f066e1a655baee71eaebbdad4b (diff)
修复无法评论问题,现在具有data-pjax特性的元素才能使pjax响应
Diffstat (limited to 'file.php')
-rw-r--r--file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.php b/file.php
index 4b387a2..9553d22 100644
--- a/file.php
+++ b/file.php
@@ -45,7 +45,7 @@
if ($year > $year_tmp || $mon > $mon_tmp) {
$output .= '</ul>';
}
- $output .= '<li><span>'. $year_tmp .' - '. $mon_tmp .' | </span><a href="'.$archives->permalink .'">'. $archives->title .'</a><br /></li>';
+ $output .= '<li><span>'. $year_tmp .' - '. $mon_tmp .' | </span><a href="'.$archives->permalink .'" data-pjax>'. $archives->title .'</a><br /></li>';
}
$output .= '</ul>';
echo $output;