Skip to content

Commit 8264cd4

Browse files
ENGCOM-4178: disable add to cart until page load #21007
- Merge Pull Request #21007 from sunilit42/magento2:disable-addtocart-until-page-load - Merged commits: 1. c09acd8 2. cffe346
2 parents 6f92ab0 + cffe346 commit 8264cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/view/frontend/web/js/validate-product.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ define([
4242
return false;
4343
}
4444
});
45-
$(this.options.addToCartButtonSelector).attr('disabled',false);
45+
$(this.options.addToCartButtonSelector).attr('disabled', false);
4646
}
4747
});
4848

0 commit comments

Comments
 (0)