Skip to content

Commit 88b6bcd

Browse files
authored
Merge pull request #4655 from magento-performance/MC-19500
MC-19500
2 parents 8bc73be + e6cfdb3 commit 88b6bcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/view/frontend/web/js/related-products.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ define([
2626
* @private
2727
*/
2828
_create: function () {
29-
$(this.options.selectAllLink).on('click', $.proxy(this._selectAllRelated, this));
30-
$(this.options.relatedCheckbox).on('click', $.proxy(this._addRelatedToProduct, this));
29+
$(this.options.selectAllLink, this.element).on('click', $.proxy(this._selectAllRelated, this));
30+
$(this.options.relatedCheckbox, this.element).on('click', $.proxy(this._addRelatedToProduct, this));
3131
this._showRelatedProducts(
3232
this.element.find(this.options.elementsSelector),
3333
this.element.data('limit'),

0 commit comments

Comments
 (0)