Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Fix | Ajax 翻页会把面包屑重复输出 #29
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingSky-CN committed Jan 21, 2020
1 parent c66c4b2 commit 6c55d39
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</div>
<?php if ($this->have()): ?>
<?php while($this->next()): ?>
<div class="mdui-card<?php if ($this->options->PjaxOption && $this->hidden): ?> protected<?php endif; ?>" style="margin-top: 20px;">
<div class="mdui-card post<?php if ($this->options->PjaxOption && $this->hidden): ?> protected<?php endif; ?>" style="margin-top: 20px;">
<?php if ($this->options->PjaxOption && !$this->hidden and postThumb($this)): ?>
<div class="mdui-card-media">
<a href="<?php $this->permalink() ?>">
Expand Down
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ function aln() {
return false
},
success: function(d) {
var c = $(d).find("#main .mdui-card"),
var c = $(d).find("#main .mdui-card.post"),
e = $(d).find(a).attr("href");
if (c) {
$('.ajaxload').before(c)
Expand Down
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
.mdui-theme-layout-dark .whisper .comment-child {
background: none;
}
.mdui-theme-layout-dark .whisper .comment-body, .mdui-theme-layout-dark .whisper .comment-list li.comment-parent, .mdui-theme-layout-dark .post {
.mdui-theme-layout-dark .whisper .comment-body, .mdui-theme-layout-dark .whisper .comment-list li.comment-parent {
border: 1px solid #424242;
}
/* 滚动条 */
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</article>
<?php endif; ?>
<?php while($this->next()): ?>
<div class="mdui-card<?php if ($this->options->PjaxOption && $this->hidden): ?> protected<?php endif; ?>" style="margin-top: 20px;">
<div class="mdui-card post<?php if ($this->options->PjaxOption && $this->hidden): ?> protected<?php endif; ?>" style="margin-top: 20px;">
<?php if ($this->options->PjaxOption && !$this->hidden and postThumb($this)): ?>
<div class="mdui-card-media">
<a href="<?php $this->permalink() ?>">
Expand Down

0 comments on commit 6c55d39

Please sign in to comment.