intake: guard hoisted ResellerCertStep script

This commit is contained in:
justin 2026-06-02 13:21:27 -05:00
parent 539fad1396
commit c9d76545b3

View file

@ -66,6 +66,7 @@ import { RESELLER_CERTIFICATION_SAMPLE_TEXT } from "../../../lib/fcc_constants";
<script>
import { RESELLER_CERTIFICATION_SAMPLE_TEXT } from "../../../lib/fcc_constants";
if (document.querySelector('[data-slug="reseller_cert"], [data-step="reseller_cert"]')) {
(document.getElementById("pw-sample-text") as HTMLElement).textContent
= RESELLER_CERTIFICATION_SAMPLE_TEXT;
@ -190,4 +191,5 @@ import { RESELLER_CERTIFICATION_SAMPLE_TEXT } from "../../../lib/fcc_constants";
non_contributing_resellers: ncs,
});
});
}
</script>