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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6847d6bb721f8d10ee6757ff57f9706328c86168
4
- data.tar.gz: 7291afa99b70ed8c7e3e509dad23839f0643dcbb
3
+ metadata.gz: da747ec730e322241b0ce14f4fa5fd5e4698dddf
4
+ data.tar.gz: 51a1b15b4a0368d1b524fa893b4f3ea6cc9b8192
5
5
  SHA512:
6
- metadata.gz: 18b40d517ce6b93b2f8aa285695e900ddb0c5f7dd5df32845ef5c2e1d2423547b99155c7110782775e053b2759cb217e4154e12a13206b1aebfd77a97673c96e
7
- data.tar.gz: ad637ad627f608db9febe101d84d7f5adaca95b448a7197f894cf50b21411c98aa11b483efa3838b04d6dd18b0659f8900e1bf305078d8044826535d3985b1d9
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.body.appendChild(chimpPopupLoader);
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
- $(window).load(function () {
48
- document.body.appendChild(chimpPopup);
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby