Use double quotes instead
This commit is contained in:
parent
26e07aab64
commit
ad9c7a2739
@ -364,11 +364,11 @@ export default function () {
|
|||||||
__html: `
|
__html: `
|
||||||
function onTurnstileError(code) {
|
function onTurnstileError(code) {
|
||||||
const messages = {
|
const messages = {
|
||||||
110500: 'Your browser is too old to complete the captcha, please update it.',
|
110500: "Your browser is too old to complete the captcha, please update it.",
|
||||||
110510: 'Something unexpected happened, please try disabling all extensions and refresh the page. If this does not solve the problem, use a different browser.',
|
110510: "Something unexpected happened, please try disabling all extensions and refresh the page. If this does not solve the problem, use a different browser.",
|
||||||
110600: 'Failed to solve the captcha, please refresh the page to try again.',
|
110600: "Failed to solve the captcha, please refresh the page to try again.",
|
||||||
200010: 'Invalid cache, please clear your cache and site data in your browser\'s settings.',
|
200010: "Invalid cache, please clear your cache and site data in your browser's settings.",
|
||||||
200100: 'Your device's clock is wrong, please fix it.',
|
200100: "Your device's clock is wrong, please fix it.",
|
||||||
};
|
};
|
||||||
|
|
||||||
const message = messages[code];
|
const message = messages[code];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user