Commit 7b72ff37 by doszhang

dos

parent 99c61dcf
...@@ -263,8 +263,9 @@ function deepClone(obj) { ...@@ -263,8 +263,9 @@ function deepClone(obj) {
function init() { function init() {
inited = true; inited = true;
$('.page1').show(); $('.page1').show();
resizeCanvas();
onLoad();
window.addEventListener("resize", resizeCanvas, false); window.addEventListener("resize", resizeCanvas, false);
window.addEventListener("DOMContentLoaded", onLoad, false);
} }
function onLoad() { function onLoad() {
......
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