Commit f9f52fa2 by doszhang

dos

parent 96b33e49
......@@ -194,13 +194,13 @@ function createHeadimg() {
headimgctx = canvasinfo[1];
headimgObj.onload = function() {
headimgctx.drawImage(headimgObj,0,0);
headimgctx.drawImage(headimgObj,0,0,headimgCanvas.width,headimgCanvas.height);
var frameimg = new Image();
frameimg.src = '/Public/static/image2/frame' + nowTemplate + '.png';
frameimg.onload = function() {
headimgctx.drawImage(frameimg,0,0);
headimgctx.drawImage(frameimg,0,0,headimgCanvas.width,headimgCanvas.height);
$('.upload-page').fadeOut(300);
$('.headimg-page').delay(200).fadeIn(300);
......
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