Closed JessThrysoee closed 7 years ago
The latest comit fixes not being able to trigger('load').
I will test this thoroughly tonight when I get home, if everything checks out, I'll merge it :)
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).
I changed my patch to invoke the handler again if img.src changes.