I've been banging my head against a lot of walls recently and I can't find any working answers (even with this solution that I might not understand).
I'm using masonry on div(class="box") and I'm trying to put those divs into bootstrap tabs.
The problem is : the reload doesn't work well, leaving gap and acting like the last divs are not cleared.
I've tried this :
$('a[data-toggle="tab"]').on('shown', function (e) {
$('#content').masonry( 'reload' );
});
But it's of course not working. Please help