Commit dbfdac17 by dos

init

parent ff1d6bbe
...@@ -314,9 +314,6 @@ function createPoster() { ...@@ -314,9 +314,6 @@ function createPoster() {
posterCanvas = canvasinfo[0]; posterCanvas = canvasinfo[0];
posterCtx = canvasinfo[1]; posterCtx = canvasinfo[1];
$('.bottom').hide();
$('.bottom' + level).show();
var photo = new Image(); var photo = new Image();
photo.src = getManBase64(uploadCanvas); photo.src = getManBase64(uploadCanvas);
...@@ -350,6 +347,9 @@ function createPoster() { ...@@ -350,6 +347,9 @@ function createPoster() {
$('.poster-img').append('<img class="posterimg" />'); $('.poster-img').append('<img class="posterimg" />');
$('.posterimg').attr('src', getManBase64(posterCanvas)); $('.posterimg').attr('src', getManBase64(posterCanvas));
$('.bottom').hide();
$('.bottom' + level).show();
} }
}, 500); }, 500);
} }
......
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