From 6c6e9f08666410ba29ccacb7a785ac39545fba18 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Sun, 26 May 2024 14:34:53 +0200 Subject: [PATCH] CR fixes --- plugins/globals.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/globals.ts b/plugins/globals.ts index 55c232532..eb45aa5bd 100644 --- a/plugins/globals.ts +++ b/plugins/globals.ts @@ -115,7 +115,7 @@ const plugin: Plugin = ({ app, store }, inject) => { link.setAttribute('rel', 'stylesheet'); link.setAttribute('href', src); link.classList.add(`${name}-stylesheet`); - script.crossOrigin = 'true'; + link.crossOrigin = 'true'; link.addEventListener('load', () => resolve()); link.addEventListener('error', (event) => { reject(new LoadScriptError(name, src, typeof event === 'string' ? event : event.type));