[themes/danbooru2] adjust rules for when to show '...', hopefully fixes #940
This commit is contained in:
parent
867fdec284
commit
945c358ab6
1 changed files with 2 additions and 2 deletions
|
@ -56,13 +56,13 @@ class Themelet extends BaseThemelet
|
|||
}
|
||||
$pages_html = joinHTML(" ", $pages);
|
||||
|
||||
if ($first_html) {
|
||||
if ($start > 2) {
|
||||
$pdots = "...";
|
||||
} else {
|
||||
$pdots = "";
|
||||
}
|
||||
|
||||
if ($last_html) {
|
||||
if ($total_pages > $end+1) {
|
||||
$ndots = "...";
|
||||
} else {
|
||||
$ndots = "";
|
||||
|
|
Reference in a new issue