I have blog post that use ajax for load more and mansory.js
for display the block.
but when i load more the data my interface broken since its use mansory.js
.
how to make ajax load + reload/refresh the mansory.js
again?...
here my index.html
....
<script src="plugins/masonry/masonry.js"></script>
<script>
$(document).ready(function(){
$(document).on('click','#load-more',function(){
var id = $(this).data('id');
$("#load-more").html("Loading....");
$.ajax({
....
});
});
});
</script>
....