mirror of
https://github.com/sdsykes/fastimage.git
synced 2025-09-20 00:01:59 -04:00
Fix returning nil if image type not gif for animated
This commit is contained in:
parent
967737b844
commit
b58af86658
@ -427,9 +427,7 @@ class FastImage
|
||||
|
||||
def parse_animated
|
||||
@type = parse_type unless @type
|
||||
return nil if @type == nil
|
||||
|
||||
@type == :gif ? send("parse_animated_for_#{@type}") : false
|
||||
@type == :gif ? send("parse_animated_for_#{@type}") : nil
|
||||
end
|
||||
|
||||
def fetch_using_base64(uri)
|
||||
|
Loading…
x
Reference in New Issue
Block a user