Skip to content

Commit 2d72b29

Browse files
committed
MC-29102: [2.4.x] [Magento Cloud] Customer receives newsletter unsubscription email after registering for new account
1 parent 193468a commit 2d72b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Newsletter/view/frontend/web/js/newsletter-sign-up.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ define([
3333
* Send status request and update subscription element according to result.
3434
*/
3535
updateSignUpStatus: function () {
36-
let element = $(this.element),
36+
var element = $(this.element),
3737
email = element.val(),
3838
self = this,
3939
newsletterSubscription;

0 commit comments

Comments
 (0)