site/_includes/scripts/masonry.js
/**
   * This function is called when we no longer need our masonry layout.
   * It removes the explicit height and transforms on the grid and grid items.
   */
This function is called when we no longer need our masonry layout.
It removes the explicit height and transforms on the grid and grid items.
This function is called when we no longer need our masonry layout . It removes the explicit height and transforms on the grid and grid items .
function cleanup() {
    items.forEach(item => {
      item.style.transform = 'none';
    });
    grid.style.height = 'auto';
  }
function cleanup ( ) { items . forEach ( item => { item . style . transform = 'none' ; } ) ; grid . style . height = 'auto' ; }
This function is called when we no longer need our masonry layout.
This function is called when we no longer need our masonry layout .