File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Catalog/view/frontend Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ switch ($type = $block->getType()) {
170170 <?php if ($ type == 'related ' && $ canItemsAddToCart ) :?>
171171 <div class="block-actions">
172172 <?= $ block ->escapeHtml (__ ('Check items to add to the cart or ' )) ?>
173- <button type="button" class="action select" role="button "><span><?= $ block ->escapeHtml (__ ('select all ' )) ?> </span></button>
173+ <button type="button" class="action select" data- role="select-all "><span><?= $ block ->escapeHtml (__ ('select all ' )) ?> </span></button>
174174 </div>
175175 <?php endif ; ?>
176176 <div class="products wrapper grid products-grid products-<?= $ block ->escapeHtmlAttr ($ type ) ?> ">
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ define([
1717 relatedProductsField : '#related-products-field' , // Hidden input field that stores related products.
1818 selectAllMessage : $ . mage . __ ( 'select all' ) ,
1919 unselectAllMessage : $ . mage . __ ( 'unselect all' ) ,
20- selectAllLink : '[role="button "]' ,
20+ selectAllLink : '[data- role="select-all "]' ,
2121 elementsSelector : '.item.product'
2222 } ,
2323
You can’t perform that action at this time.
0 commit comments