Commit c56784f0 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

minor fixes

parent eaa6f743
...@@ -297,8 +297,8 @@ function model_init(){ ...@@ -297,8 +297,8 @@ function model_init(){
removeBOM(); removeBOM();
showBOM(); showBOM();
resize(); resize();
//unbindCanvas(); unbindCanvas();
//bindCanvas(); bindCanvas();
} }
var block_load_events = false; var block_load_events = false;
...@@ -338,19 +338,19 @@ function run2(){ ...@@ -338,19 +338,19 @@ function run2(){
console.log("fire init (1)"); console.log("fire init (1)");
model_init(); model_init();
//unbindCanvas(); //unbindCanvas();
bindCanvas(); //bindCanvas();
} }
if (load_counter==(load_limit-2)){ if (load_counter==(load_limit-2)){
console.log("fire init (limit-2)"); console.log("fire init (limit-2)");
model_init(); model_init();
//unbindCanvas(); //unbindCanvas();
bindCanvas(); //bindCanvas();
} }
} }
}); });
} }
if (inlines.length==1) { if (inlines.length==1) {
bindCanvas(); //bindCanvas();
model_init(); model_init();
} }
} }
......
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 to comment