forked from e621ng/e621ng
fix post version listing bug
This commit is contained in:
parent
7fe919ea6a
commit
5754089c2b
@ -18,7 +18,7 @@ div.comments-for-post {
|
||||
|
||||
div.content {
|
||||
margin-left: 2em;
|
||||
width: 30em;
|
||||
width: 35em;
|
||||
float: left;
|
||||
|
||||
menu {
|
||||
|
@ -67,7 +67,7 @@ module Danbooru
|
||||
end
|
||||
|
||||
def records_per_page
|
||||
(@paginator_options[:limit] || Danbooru.config.posts_per_page).to_i
|
||||
(@paginator_options.try(:[], :limit) || Danbooru.config.posts_per_page).to_i
|
||||
end
|
||||
|
||||
# taken from kaminari (https://github.com/amatsuda/kaminari)
|
||||
|
Loading…
Reference in New Issue
Block a user