zonear / isotope-perfectmasonry

PerfectMasonry extension for Isotope
138 stars 49 forks source link

properties.grid[0] is undefined #16

Closed Clocktower closed 10 years ago

Clocktower commented 10 years ago

I am not necessarily sure where this problem may be stemming from.

alvinteh commented 10 years ago

I just implemented this a few minutes ago and was stumped at the same issue as well.

It seems like Perfect Masonry requires the Isotope container to contain elements before being used - the error, at least on my end, occurred when I initialized Isotope with Perfect Masonry with an empty container (I was using AJAX to populate the items).

mikkotikkanen commented 10 years ago

Thanks for the report. Fixed it with the latest commit (for some reason, the message with fix notation disappeared)

Clocktower commented 10 years ago

thanks, mikkotikkanen.