diff --git a/src/client/app/composables/head.ts b/src/client/app/composables/head.ts index 708c16eb42bf..f0296b185ae5 100644 --- a/src/client/app/composables/head.ts +++ b/src/client/app/composables/head.ts @@ -87,7 +87,7 @@ function createHeadElement([tag, attrs, innerHTML]: HeadConfig) { if (innerHTML) { el.innerHTML = innerHTML } - if (tag === 'script' && !attrs.async) { + if (tag === 'script' && attrs.async == null) { // async is true by default for dynamically created scripts ;(el as HTMLScriptElement).async = false }