[themes/danbooru2] adjust rules for when to show '...', hopefully fixes #940
This commit is contained in:
@@ -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 New Issue
Block a user