no more innerHTML in popup.js

This commit is contained in:
Jeremy Schomery 2017-07-19 12:52:16 +04:30 committed by tophf
parent 7c8dbfc3a4
commit f5c125d61c

View File

@ -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;
}