Problem with plugin Isotope 2.1 and AJax relayout

Hi,

I have an error when isotope( 'reLayout'); is called after an Ajax Load More.

Line 565 - scripts.js 
// isotope fix: second resize

setTimeout(function(){
$('.lm_wrapper.isotope').isotope( 'reLayout');
},1000);

In the console js I have  :  no such method 'reLayout' for isotope instance on jquery.plugins.js

As you update the version of the plugin Isotope Metafizzy, you have to change with : $('.lm_wrapper.isotope').isotope( 'layout');

I tested it, and now I have no errors.

You can test on this page : http://www.aftmdev.com/mediatheque/les-dossiers-de-laftm/ if you click on the button "Plus"

Can you fix this this?

Thanks


Comments

Sign In or Register to comment.