Update popup.js

This commit is contained in:
Jaroslav Petrnoušek 2014-10-03 07:50:40 +02:00
parent 40da07846b
commit eed410663b

View File

@ -19,8 +19,6 @@ function showStyles(styles) {
function createStyleElement(style) {
var e = styleTemplate.cloneNode(true);
var checkbox = e.querySelector(".checker");
checkbox.setAttribute("type","checkbox");
checkbox.setAttribute("class","checker")
if (style.enabled == "true") {
checkbox.checked = true;
}