multiple-filter-masonry
multiple-filter-masonry copied to clipboard
Filtering (filter change functions) does not always rebuild masonry
Symptons
Items do not take up full width of the column
Cause
Reload functions misses the masonry options;
var reload = function($container,items){
$container.empty();
$(items).each(function(){
$($container).append($(this));
});
$container.masonry('reloadItems');
$container.masonry();
};
Fix
Last line should be:
$container.masonry();