ie7 fixes: define indexOf, use charAt rather than [] to access string,

put try/catch around fn that was throwing errors.
This commit is contained in:
Don Mitchell
2012-12-19 10:48:03 -05:00
parent 1b8dfadc8e
commit 326d21d143
3 changed files with 12 additions and 2 deletions

View File

@@ -85,7 +85,10 @@ function update(){
}
resizetimeout = window.setTimeout(function(){
restore();
init();
try {
init();
}
catch (err) {}
resizetimeout = null;
},100);
}