intake: guard hoisted ResellerCertStep script
This commit is contained in:
parent
539fad1396
commit
c9d76545b3
1 changed files with 2 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue