Sha256: a4c4d71ffd8af93fdde7ea79d5562ac5026aa360b9ecb552ccdf684734d56c85

Contents?: true

Size: 733 Bytes

Versions: 7

Compression:

Stored size: 733 Bytes

Contents

<script type="text/javascript">

function defer(method) {
    if (window.jQuery) {
        method();
    } else {
        setTimeout(function() { defer(method) }, 50);
    }
}

function showMailingPopUp() {
    
    document.cookie = "MCPopupClosed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
    document.cookie = "MCPopupSubscribed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
    
    require(["mojo/signup-forms/Loader"], function(L) { L.start(
    {"baseUrl":"mc.us3.list-manage.com","uuid":"14baaae786342d0d405ee59c2","lid":"{{site.data.settings.mailchimp.id}}"}
    ) })
};

  defer(function () {
      $("#open-newsletter-popup").on('click', function() { 
          showMailingPopUp();
      });
  });
 

</script>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jumbo-jekyll-theme-1.5.5 _includes/newsletter-script.html
jumbo-jekyll-theme-1.5.4 _includes/newsletter-script.html
jumbo-jekyll-theme-1.5.3 _includes/newsletter-script.html
jumbo-jekyll-theme-1.5.2 _includes/newsletter-script.html
jumbo-jekyll-theme-1.5.1 _includes/newsletter-script.html
jumbo-jekyll-theme-1.5.0 _includes/newsletter-script.html
jumbo-jekyll-theme-1.4.55 _includes/newsletter-script.html