I have this site that is built using the jQuery Masonry plugin, the site works great in Firefox and Chrome, however on first run on IE9 the layout is broken and it seems Masonry is not being loaded.
This is the error that is output into the console of IE9.
cannot call methods on masonry prior to initialization; attempted to
call method ‘appended’
Here is a link to the staging site: http://rw.freelanc3r.co.uk/ please view in Chrome or Firefox before IE to see the desired outcome.
I understand there are no images on the page, please ignore this minor defect.
I suspect there may be a problem with the fact that the Masonry initializing code is placed inside the
imagesLoadedcallback and none of your images are actually loading. FF, Chrome, and IE9 may have different behavior regarding how they handle this situation.Does the problem still happen when the page has loading images?