isotope/masonry behaviour doesn't work with isotope
-
I’m using the infinite-scroll plugin with isotope. I’ve chosen the masonry/isotope behaviour and it fails with the error:
cannot call methods on masonry prior to initialization; attempted to call ‘appended’
I’ve fixed it by editing file plugins/infinite-scroll/behaviours/masonry-isotope.js
Change line 18 from this:
$(this).masonry(‘appended’,$(newElements));to this:
$(this).isotope(‘appended’,$(newElements));and it works. Any way to separate these options in future so they’ll always work?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘isotope/masonry behaviour doesn't work with isotope’ is closed to new replies.