peol / jquery.imgloaded

Fake fork of Paul Irish's image loaded method for jQuery
48 stars 22 forks source link

A litte improvement to first patch #4

Closed JessThrysoee closed 7 years ago

JessThrysoee commented 14 years ago

I changed my patch to invoke the handler again if img.src changes.

JessThrysoee commented 14 years ago

The latest comit fixes not being able to trigger('load').

peol commented 13 years ago

I will test this thoroughly tonight when I get home, if everything checks out, I'll merge it :)

justinhillsjohnson commented 13 years ago

The patch is pretty solid except in FF 3.6.13. this.complete always returns true in FF, so the callback for the event listener is triggered before the image is done loading (very noticeable if you throttle your connection with Charles).