Created
February 10, 2011 08:34
-
-
Save no6v/820142 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/public/javascripts/draw.js b/public/javascripts/draw.js | |
index 747329e..fc2dc53 100644 | |
--- a/public/javascripts/draw.js | |
+++ b/public/javascripts/draw.js | |
@@ -66,7 +66,7 @@ function draw (e) { | |
function set_pen_color () { | |
var c = $(this).attr("id"); | |
if (c=='eraser') { | |
- pen_color[0] = canvas_color; | |
+ pen_colors[0] = canvas_color; | |
} else { | |
pen_colors.unshift(c); | |
$(".recent").each(function(i){ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment