Fix drawing.js bug
authorRobert Konigsberg <konigsberg@google.com>
Mon, 16 Jan 2012 22:11:14 +0000 (17:11 -0500)
committerRobert Konigsberg <konigsberg@google.com>
Mon, 16 Jan 2012 22:11:14 +0000 (17:11 -0500)
gallery/drawing.js

index 63d7fdd..fb5e8de 100644 (file)
@@ -20,7 +20,7 @@ Gallery.register(
       zoom.onclick = function() { change_tool(zoom) };
       var pencil = document.getElementById('tool_pencil');
       pencil.onclick = function() { change_tool(pencil) };
-      var eraser = document.getElementById('tool_pencil');
+      var eraser = document.getElementById('tool_eraser');
       eraser.onclick = function() { change_tool(eraser) };
 
       var start_date = new Date("2002/12/29").getTime();