Skip to content

Commit 9b05117

Browse files
committed
MAGETWO-54186: Problem with js validation when adding product to shopping cart
- jsdoc edited
1 parent 690c59d commit 9b05117

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ define([
1717
},
1818

1919
/**
20-
* Use magento validation widget for the form object
20+
* Uses Magento's validation widget for the form object.
2121
* @private
2222
*/
2323
_create: function () {
@@ -27,7 +27,7 @@ define([
2727
radioCheckboxClosest: this.options.radioCheckboxClosest,
2828

2929
/**
30-
* Use catalogAddToCart widget as submit handler
30+
* Uses catalogAddToCart widget as submit handler.
3131
* @param {Object} form
3232
* @returns {Boolean}
3333
*/

0 commit comments

Comments
 (0)