Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit 0809338

Browse files
Merge pull request #199 from DarkPurple141/patch-2
fix: changed 'utf8' to 'utf-8' for the injected script charset
2 parents d92b97d + 90ba9db commit 0809338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function loadScript (url) {
88
const script = document.createElement('script')
99
script.async = true
1010
script.src = url
11-
script.charset = 'utf8'
11+
script.charset = 'utf-8'
1212

1313
head.appendChild(script)
1414

@@ -120,4 +120,4 @@ export const promisify = value => {
120120
}
121121

122122
return Promise.resolve(value)
123-
}
123+
}

0 commit comments

Comments
 (0)