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.
method
1 parent 3428ebc commit f3c3f7eCopy full SHA for f3c3f7e
app/code/Magento/Customer/view/frontend/web/js/customer-data.js
@@ -429,7 +429,7 @@ define([
429
$(document).on('submit', function (event) {
430
var sections;
431
432
- if (event.target.method.match(/post|put|delete/i)) {
+ if (event.target.hasAttribute('method') && event.target.getAttribute('method').match(/post|put|delete/i)) {
433
sections = sectionConfig.getAffectedSections(event.target.action);
434
435
if (sections) {
0 commit comments