fix:timeline behavior (#279)

This commit is contained in:
琥珀 2021-11-13 18:34:05 +08:00 committed by GitHub
parent 6e56d0ba42
commit a0950f1a5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1358,7 +1358,10 @@ function memory_archives_list()
if ($mon != $mon_tmp && $mon > 0) {
$output .= '</ul></li>';
}
if ($mon == $mon_tmp && $year != $year_tmp ) {
$mon=$mon_tmp + 12;
$output .= '</ul>';
}
if ($year != $year_tmp && $year > 0) {
$output .= '</ul>';
}