diff --git a/blocks/product-comparison-table/product-comparison-table.js b/blocks/product-comparison-table/product-comparison-table.js index 575b84a03..6b6cdda96 100644 --- a/blocks/product-comparison-table/product-comparison-table.js +++ b/blocks/product-comparison-table/product-comparison-table.js @@ -172,9 +172,10 @@ function buildTableHeader(block) { } function setBuyButtonsToPrimary(columnHeaders) { - columnHeaders.forEach((columnHeader) => + columnHeaders.forEach((columnHeader) => { columnHeader.querySelectorAll('.button-container') - .forEach((button) => button.classList.add('red'))); + .forEach((button) => button.classList.add('red')) + }); } function setActiveColumn(block) {