We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e6cfaa6 + a0af4e9 commit 81c1826Copy full SHA for 81c1826
app/code/Magento/Swatches/view/frontend/web/js/SwatchRenderer.js
@@ -483,12 +483,9 @@ define([
483
var $parent = $this.parents('.' + $widget.options.classes.attributeClass),
484
$label = $parent.find('.' + $widget.options.classes.attributeSelectedOptionLabelClass),
485
attributeId = $parent.attr('attribute-id'),
486
- $input = $widget.productForm
487
- .find('.' +
488
- $widget.options.classes.attributeInput +
489
- '[name="super_attribute[' + attributeId +
490
- ']"]'
491
- );
+ $input = $widget.productForm.find(
+ '.' + $widget.options.classes.attributeInput + '[name="super_attribute[' + attributeId + ']"]'
+ );
492
493
if ($this.hasClass('disabled')) {
494
return;
0 commit comments