johnpolacek / imagefill.js

The jQuery plugin for making images fill their containers (and be centered)
http://johnpolacek.github.io/imagefill.js/
609 stars 89 forks source link

Bug fix and documentation correction #6

Closed tombeynon closed 10 years ago

tombeynon commented 10 years ago

There seems to be a bug where the $img variable is overwritten with the imagesLoaded instance, which then throws an error when .width() is called on it. I also found some references to .imageFill() instead of .imagefill() in the documentation.