Hi!
I’m trying to hide the .book-reviews_main-heading based on if the collection list (.book-reviews_list) has less than two items. What is wrong with this code snippet? It won’t work.
if ($('.book-reviews_grid').length) < 2 {
$('.book-reviews_main-heading').hide();
}