fixes #1630
This commit is contained in:
@@ -153,7 +153,7 @@ class Post < ActiveRecord::Base
|
|||||||
|
|
||||||
module ImageMethods
|
module ImageMethods
|
||||||
def has_large?
|
def has_large?
|
||||||
image_width.present? && image_width > Danbooru.config.large_image_width
|
is_image? && image_width.present? && image_width > Danbooru.config.large_image_width
|
||||||
end
|
end
|
||||||
|
|
||||||
def has_large
|
def has_large
|
||||||
|
|||||||
Reference in New Issue
Block a user