Added the missing function call

This commit is contained in:
Emre Saglam 2020-03-24 11:03:16 -07:00
parent b62f9fabf2
commit 6151bc262f

View File

@ -177,7 +177,7 @@
lastRequest.open("GET", theUrl, true);
lastRequest.onload = function (e) {
if (lastRequest.readyState === 4 && lastRequest.status === 200) {
let sanitizedResponseText = lastRequest.responseText;
let sanitizedResponseText = sanitizeHTMLEntities(lastRequest.responseText);
let httpResults = JSON.parse(sanitizedResponseText);
results.innerHTML = '';