From 93fe23f2a6f18e1d2e001f10a85f3fb5fe7c095a Mon Sep 17 00:00:00 2001 From: eight Date: Wed, 13 Sep 2017 01:39:34 +0800 Subject: [PATCH] Fix: innerHTML -> textContent --- content/install-user-css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/install-user-css.js b/content/install-user-css.js index 558b0760..6dae6687 100644 --- a/content/install-user-css.js +++ b/content/install-user-css.js @@ -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'})