Skip to content

Commit

Permalink
Merge pull request #144 from LaBisquerie/patch-1
Browse files Browse the repository at this point in the history
Remove the “>” selector to make the selector more flexible
  • Loading branch information
nicosomb authored Nov 14, 2024
2 parents e124d49 + ece0c8d commit dd926c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/mailalerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function addNotification(productId, productAttributeId) {
$.ajax({
type: 'POST',
url: $('div.js-mailalert').data('url'),
data: 'id_product='+productId+'&id_product_attribute='+productAttributeId+'&customer_email='+$('div.js-mailalert > input[type=email]').val(),
data: 'id_product='+productId+'&id_product_attribute='+productAttributeId+'&customer_email='+$('div.js-mailalert input[type=email]').val(),
success: function (resp) {
resp = JSON.parse(resp);

Expand Down

0 comments on commit dd926c8

Please sign in to comment.