From f5c125d61cf1ae422bb94d936e9a5a5a9c3cc11d Mon Sep 17 00:00:00 2001 From: Jeremy Schomery Date: Wed, 19 Jul 2017 12:52:16 +0430 Subject: [PATCH] no more innerHTML in popup.js --- popup/popup.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/popup/popup.js b/popup/popup.js index 52accdf1..d8d6e331 100644 --- a/popup/popup.js +++ b/popup/popup.js @@ -176,7 +176,8 @@ function showStyles(styles) { return; } if (!styles.length) { - installed.innerHTML = template.noStyles.outerHTML; + installed.textContent = ''; + installed.appendChild(template.noStyles.cloneNode(true)); return; }