mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 12:03:25 -04:00
<LanguageMap> CR fixes
This commit is contained in:
parent
48e0565d86
commit
6c6e9f0866
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user