From 08342109dd1410ea95aad0b6f4220613eaf43d1b Mon Sep 17 00:00:00 2001 From: Shivam7-1 <55046031+Shivam7-1@users.noreply.github.com> Date: Tue, 16 Apr 2024 18:01:49 +0530 Subject: [PATCH] Update index.ts --- validation/src/static/scripts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation/src/static/scripts/index.ts b/validation/src/static/scripts/index.ts index 4b71ed1d..75d1c9b5 100644 --- a/validation/src/static/scripts/index.ts +++ b/validation/src/static/scripts/index.ts @@ -151,7 +151,7 @@ const getWPTComparison = async () => { wptResults.innerHTML = `
View the results for the Web Platform Tests comparison - Run ${wptResultId}
`; } else if (rawResponse.status === 400) { const error = await rawResponse.json(); - wptResults.innerHTML = `
Error: ${error.message}
`; + wptResults.innerText = `
Error: ${error.message}
`; } };