diff --git a/jquery.isotope.js b/jquery.isotope.js index 7d5631c..323f483 100644 --- a/jquery.isotope.js +++ b/jquery.isotope.js @@ -989,6 +989,8 @@ for ( i=0; i < setSpan; i++ ) { this.masonry.colYs[ shortCol + i ] = setHeight; } + + $("body").removeClass(function(i,c){var m=c.match(/col-(\d*)/);return m?m[0]:m}).addClass("col-"+this.masonry.cols); }, @@ -1404,4 +1406,4 @@ return this; }; -})( window, jQuery ); \ No newline at end of file +})( window, jQuery );