Skip to Content

JavaScript File

URL: https://www.we-are-digital.co.uk/hs-fs/hub/20293962/hub_generated/template_assets/50309135485/1644250294851/DD_Theme/assets/js/site.min.js
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Mon, 07 Feb 2022 16:11:36 GMT
Download Time: Less than a second
Cookies: None
Size: 2 KB
HTTP Headers:  25 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
  
OK Issues: No issues found

1function getHeaderContainerWidthVar(){var headerContainer=$(".header__container").innerWidth();document.documentElement.style.setProperty("--headerContainerWidth",headerContainer+"px")}

2balanceText(),getHeaderContainerWidthVar(),$("[data-bg-color]").each((function(){var bgColor=$(this).data("bg-color"),$prev=$(this).parent().prev().find("[data-bg-color]");$prev.length>0&&$prev.data("bg-color")==bgColor&&"image"!=bgColor&&$(this).css({"padding-top":0}

3)}

4)),$(window).on("load",(function(){$(".hs-cta-img").each((function(){$(this).parent().addClass("no-style")}

5))}

6)),window.addEventListener("message",(event=>{"hsFormCallback"===event.data.type&&"onFormReady"===event.data.eventName&&($(".hs-form-required").attr("aria-hidden",!0),$('.hs-form [role="checkbox"]').attr("role","presentation"),$('.hs-form [type="checkbox"]').attr("aria-labelledby",""),$(".hs-form-checkbox-display").each((function(){var text=$("span",this).text();$("span",this).remove(),$(this).append(text)}

7)))}

8));

9//# sourceURL=https://cdn2.hubspot.net/hub/20293962/hub_generated/template_assets/50309135485/1644250294851/DD_Theme/assets/js/site.js