From 5efb540e0b4ce00b91cca333d5a4a1664a8d606a Mon Sep 17 00:00:00 2001 From: gonzalo Date: Thu, 2 Jul 2020 09:34:46 -0300 Subject: [PATCH] closes #1015 for magento 2.3 --- view/frontend/web/js/campaigncatcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/frontend/web/js/campaigncatcher.js b/view/frontend/web/js/campaigncatcher.js index 4572726b..4eb06e88 100644 --- a/view/frontend/web/js/campaigncatcher.js +++ b/view/frontend/web/js/campaigncatcher.js @@ -34,7 +34,7 @@ define( urlparams = self.getUrlVars(); urlparams.forEach(function (item) { if (item.key=='utm_source') { - var reg = /^mailchimp$/;z + var reg = /^mailchimp$/; if (reg.exec(item.value)) { isMailchimp = true; }