FSB.news = {
    init: function () {
        setTimeout(function(){
          FSB.news.newsGridInit();
        }, 600);
    },
    newsGridInit: function() {

        var $grid = $('#news-index-grid').imagesLoaded( function() {
          $grid.isotope({
            itemSelector: '.grid-item',
            percentPosition: true,
            masonry: {
              columnWidth: '.grid-sizer'
            }
          });
        });

        // $('.yesfit-cats-menu').on( 'click', 'button', function() {
        //   var filterValue = $( this ).attr('data-filter');
        //   // use filterFn if matches value
        //   // filterValue = filterFns[ filterValue ] || filterValue;
        //   $grid.isotope({ filter: filterValue });
        // });

        // $grid.on( 'layoutComplete', function() {
        //   FSB.news.gridScrollReveal();
        // });
    }
}