Skip to content

Commit

Permalink
append # character, firefox issue
Browse files Browse the repository at this point in the history
  • Loading branch information
orendon committed Apr 15, 2012
1 parent db74b0f commit b52e4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wb/wb-client.js
Expand Up @@ -53,7 +53,7 @@ function setColor(beginPath){
if(beginPath) {
ctx.beginPath();
}
var color = document.getElementById("color").value;
var color = "#" + document.getElementById("color").value;
ctx.strokeStyle = color;
document.getElementById("message").innerHTML = "color changed to " + color;
}
Expand Down

0 comments on commit b52e4da

Please sign in to comment.