Use innerText instead of innerHTML

This commit is contained in:
Brendan Abolivier 2020-03-13 19:09:22 +00:00
parent 0de9f9486a
commit ebfcbbff9c
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD

View file

@ -37,7 +37,8 @@
// to print one.
let errorDesc = new URLSearchParams(searchStr).get("error_description")
if (errorDesc) {
document.getElementById("errormsg").innerHTML = ` ("${errorDesc}")`;
document.getElementById("errormsg").innerText = ` ("${errorDesc}")`;
}
</script>
</body>