Skip to content

Commit 81c1826

Browse files
author
Yaroslav Onischenko
committed
Merge remote-tracking branch 'origin/MAGETWO-49827' into develop
2 parents e6cfaa6 + a0af4e9 commit 81c1826

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

app/code/Magento/Swatches/view/frontend/web/js/SwatchRenderer.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,9 @@ define([
483483
var $parent = $this.parents('.' + $widget.options.classes.attributeClass),
484484
$label = $parent.find('.' + $widget.options.classes.attributeSelectedOptionLabelClass),
485485
attributeId = $parent.attr('attribute-id'),
486-
$input = $widget.productForm
487-
.find('.' +
488-
$widget.options.classes.attributeInput +
489-
'[name="super_attribute[' + attributeId +
490-
']"]'
491-
);
486+
$input = $widget.productForm.find(
487+
'.' + $widget.options.classes.attributeInput + '[name="super_attribute[' + attributeId + ']"]'
488+
);
492489

493490
if ($this.hasClass('disabled')) {
494491
return;

0 commit comments

Comments
 (0)