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()) {
170
170
<?php if ($ type == 'related ' && $ canItemsAddToCart ) :?>
171
171
<div class="block-actions">
172
172
<?= $ 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>
174
174
</div>
175
175
<?php endif ; ?>
176
176
<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([
17
17
relatedProductsField : '#related-products-field' , // Hidden input field that stores related products.
18
18
selectAllMessage : $ . mage . __ ( 'select all' ) ,
19
19
unselectAllMessage : $ . mage . __ ( 'unselect all' ) ,
20
- selectAllLink : '[role="button "]' ,
20
+ selectAllLink : '[data- role="select-all "]' ,
21
21
elementsSelector : '.item.product'
22
22
} ,
23
23
You can’t perform that action at this time.
0 commit comments