jumbo-jekyll-theme 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/newsletter-script.html +27 -17
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da747ec730e322241b0ce14f4fa5fd5e4698dddf
|
4
|
+
data.tar.gz: 51a1b15b4a0368d1b524fa893b4f3ea6cc9b8192
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18642beac54cd772284f962187d38ff704fad643525e18a14274ad89a377d8f3d45921e2c4708b2c434c6a322aad0ba242b6d3b006a79065a94eb7d53a09fe05
|
7
|
+
data.tar.gz: 8a48bc4e024acb512a45eb21a2ddcc855248417c04e3dc5bf71ee337b49f4cb3c59f1bc94acb2f9e0a413c7e7d09688d8a7fdfe8377497a330be95230ce437bc
|
@@ -20,34 +20,44 @@ function showMailingPopUp() {
|
|
20
20
|
|
21
21
|
document.cookie = "MCPopupClosed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
|
22
22
|
document.cookie = "MCPopupSubscribed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
|
23
|
-
|
24
|
-
var mailchimpConfig = {
|
25
|
-
baseUrl: 'mc.us3.list-manage.com',
|
26
|
-
uuid: '14baaae786342d0d405ee59c2',
|
27
|
-
lid: '{{site.data.settings.mailchimp.id}}'
|
28
|
-
};
|
29
|
-
|
30
|
-
// No edits below this line are required
|
31
|
-
var chimpPopupLoader = document.createElement("script");
|
32
|
-
chimpPopupLoader.src = '//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js';
|
33
|
-
chimpPopupLoader.setAttribute('data-dojo-config', 'usePlainJson: true, isDebug: false');
|
34
|
-
|
35
|
-
var chimpPopup = document.createElement("script");
|
36
|
-
chimpPopup.appendChild(document.createTextNode('require(["mojo/signup-forms/Loader"], function (L) { L.start({"baseUrl": "' + mailchimpConfig.baseUrl + '", "uuid": "' + mailchimpConfig.uuid + '", "lid": "' + mailchimpConfig.lid + '"})});'));
|
37
23
|
|
38
24
|
};
|
39
25
|
|
26
|
+
|
27
|
+
|
28
|
+
|
40
29
|
defer(function () {
|
41
30
|
$("#open-newsletter-popup").on('click', function() {
|
42
31
|
showMailingPopUp();
|
43
32
|
});
|
44
33
|
|
45
|
-
document.
|
34
|
+
$(document).ready(function(){
|
35
|
+
|
36
|
+
|
37
|
+
var mailchimpConfig = {
|
38
|
+
baseUrl: 'mc.us3.list-manage.com',
|
39
|
+
uuid: '14baaae786342d0d405ee59c2',
|
40
|
+
lid: '{{site.data.settings.mailchimp.id}}'
|
41
|
+
};
|
42
|
+
|
43
|
+
// No edits below this line are required
|
44
|
+
var chimpPopupLoader = document.createElement("script");
|
45
|
+
chimpPopupLoader.src = '//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js';
|
46
|
+
chimpPopupLoader.setAttribute('data-dojo-config', 'usePlainJson: true, isDebug: false');
|
46
47
|
|
47
|
-
|
48
|
-
document.
|
48
|
+
var chimpPopup = document.createElement("script");
|
49
|
+
chimpPopup.appendChild(document.createTextNode('require(["mojo/signup-forms/Loader"], function (L) { L.start({"baseUrl": "' + mailchimpConfig.baseUrl + '", "uuid": "' + mailchimpConfig.uuid + '", "lid": "' + mailchimpConfig.lid + '"})});'));
|
50
|
+
|
51
|
+
document.body.appendChild(chimpPopupLoader);
|
52
|
+
|
53
|
+
$(window).load(function () {
|
54
|
+
document.body.appendChild(chimpPopup);
|
55
|
+
});
|
56
|
+
|
49
57
|
});
|
50
58
|
|
59
|
+
|
60
|
+
|
51
61
|
});
|
52
62
|
|
53
63
|
|