Commit fc1688b5 by doszhang

dos

parent c54762d8
......@@ -194,7 +194,6 @@ function getManBase64(canvas) {
}
function initCanvas(target, id, canvasWidth, canvasHeight) {
black = loadedImages[blackUrl];
$(target).append($('<canvas id="' + id + '" width="' + canvasWidth + '" height="' + canvasHeight + '"></canvas>'));
canvas = $('#' + id)[0];
ctx = canvas.getContext("2d");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment