Update popup.js
This commit is contained in:
parent
40da07846b
commit
eed410663b
2
popup.js
2
popup.js
|
@ -19,8 +19,6 @@ function showStyles(styles) {
|
||||||
function createStyleElement(style) {
|
function createStyleElement(style) {
|
||||||
var e = styleTemplate.cloneNode(true);
|
var e = styleTemplate.cloneNode(true);
|
||||||
var checkbox = e.querySelector(".checker");
|
var checkbox = e.querySelector(".checker");
|
||||||
checkbox.setAttribute("type","checkbox");
|
|
||||||
checkbox.setAttribute("class","checker")
|
|
||||||
if (style.enabled == "true") {
|
if (style.enabled == "true") {
|
||||||
checkbox.checked = true;
|
checkbox.checked = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user