Commit d36c79b0 by doszhang

dos

parent 4abf701e
...@@ -92,9 +92,7 @@ $(document).ready(function () { ...@@ -92,9 +92,7 @@ $(document).ready(function () {
$('.inputTip').show(); $('.inputTip').show();
$('.page').hide().filter('.page1').show(); $('.page').hide().filter('.page1').show();
ctx2.save(); ctx2.save();
ctx2.clearRect(0, 0, canvas2.width, canvas2.height); ctx2.drawImage(img, 0, 0);
ctx2.fillStyle = "#ffffff";
ctx2.fillRect(0, 0, canvas2.width, canvas2.height);
}); });
$('.make').on('click', function () { $('.make').on('click', function () {
var text = $.trim($('.page:visible').find('input[type=text]').val()); var text = $.trim($('.page:visible').find('input[type=text]').val());
......
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