diff --git a/packages/scripts/dist/other-amount.js b/packages/scripts/dist/other-amount.js index 0632ff53..01e76f54 100644 --- a/packages/scripts/dist/other-amount.js +++ b/packages/scripts/dist/other-amount.js @@ -63,7 +63,9 @@ export class OtherAmount { targetWrapper.classList.remove("en__field__item--hidden"); if (targetWrapper.parentNode) { const lastRadioInput = targetWrapper.parentNode.querySelector(".en__field__item:nth-last-child(2) input"); - lastRadioInput.checked = !0; + if (lastRadioInput) { + lastRadioInput.checked = true; + } } } } diff --git a/packages/scripts/dist/src-defer.js b/packages/scripts/dist/src-defer.js index 01cbb6e8..77ddc5f0 100644 --- a/packages/scripts/dist/src-defer.js +++ b/packages/scripts/dist/src-defer.js @@ -54,15 +54,16 @@ export class SrcDefer { } // To get the browser to request the video asset defined we need to remove the