Image is loading in Firefox 19 but "fail" is fired instead of "done" #59

Closed
satb opened this Issue Apr 9, 2013 · 1 comment

Projects

None yet

2 participants

@satb
satb commented Apr 9, 2013

Works perfectly in Chrome. However, in Firefox 19, the image is loading, but the "fail" callback is being fired instead of "done". Here is the code I have that I am testing (in coffeescript)

$('.image').each ->
            dfd = $(this).imagesLoaded
                done: (img) ->
                    console.log('done')
                fail: (img, proper, broken) ->
                    console.log("failed proper=#{proper.length} broken=#{broken.length}")
                always: -> console.log("fired always")

Here is the console output (I have 3 images on the page):

failed proper=0 broken=1
fired always
failed proper=0 broken=1
fired always
failed proper=0 broken=1
fired always

@desandro
Owner

Try upgrading to v3! If you have a live URL we take view, we'd be happy to take a look. Until then, this issue will be closed.

@desandro desandro closed this May 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment