Skip to content

Commit fbbbf01

Browse files
authored
DIsable MailChimp Popup
1 parent 79d425d commit fbbbf01

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

index.html

+1-20
Original file line numberDiff line numberDiff line change
@@ -89,23 +89,4 @@ <h5 class="icon-title">{{ page.title }}</h5>
8989
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
9090
<script src="site.js"></script>
9191

92-
<!-- MailChimp Configuration Block -->
93-
<script>
94-
var mailchimpConfig = {
95-
baseUrl: 'mc.us19.list-manage.com',
96-
uuid: 'e70b1f6acc3b76573d1c8247d',
97-
lid: '787175785e'
98-
};
99-
var chimpPopupLoader = document.createElement("script");
100-
chimpPopupLoader.src = '//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js';
101-
chimpPopupLoader.setAttribute('data-dojo-config', 'usePlainJson: true, isDebug: false');
102-
var chimpPopup = document.createElement("script");
103-
chimpPopup.appendChild(document.createTextNode('require(["mojo/signup-forms/Loader"], function (L) { L.start({"baseUrl": "' + mailchimpConfig.baseUrl + '", "uuid": "' + mailchimpConfig.uuid + '", "lid": "' + mailchimpConfig.lid + '"})});'));
104-
jQuery(function ($) {
105-
document.body.appendChild(chimpPopupLoader);
106-
$(window).load(function () {
107-
document.body.appendChild(chimpPopup);
108-
});
109-
});
110-
</script>
111-
</html>
92+
</html>

0 commit comments

Comments
 (0)