diff --git a/src/assets/javascripts/integrations/instant/index.ts b/src/assets/javascripts/integrations/instant/index.ts index 25f5ac3c5..822021b88 100644 --- a/src/assets/javascripts/integrations/instant/index.ts +++ b/src/assets/javascripts/integrations/instant/index.ts @@ -316,7 +316,7 @@ export function setupInstantLoading( /* Complete immediately */ } else { - script.textContent = el.textContent! + script.textContent = el.textContent replaceElement(el, script) return EMPTY }