Fix: innerHTML -> textContent
This commit is contained in:
parent
6165487db6
commit
93fe23f2a6
|
@ -177,7 +177,7 @@ function buildWarning(err) {
|
|||
|
||||
function initErrorPage(err, source) {
|
||||
return pendingResource.then(() => {
|
||||
document.body.innerHTML = '';
|
||||
document.body.textContent = '';
|
||||
[
|
||||
buildWarning(err),
|
||||
$element({className: 'code'})
|
||||
|
|
Loading…
Reference in New Issue
Block a user