temp commit

This commit is contained in:
Firstname Lastname
2012-08-29 10:15:18 +02:00
parent 6ea7f74d00
commit 3664d87751
2 changed files with 30 additions and 2 deletions

View File

@@ -77,7 +77,7 @@
},
onPickerChange : function(evt) {
penColor = colorPicker.value;
penColor = "#" + this.colorPicker.value;
},
initPalette : function (color) {
@@ -88,6 +88,7 @@
var color = colors[i];
var colorEl = document.createElement("li");
colorEl.setAttribute("data-color", color);
colorEl.innerHTML = color;
paletteEl.appendChild(colorEl);
}
},