ded / bonzo

library agnostic, extensible DOM utility
Other
1.32k stars 137 forks source link

IE css setter bug fix #87

Closed billtrik closed 12 years ago

billtrik commented 12 years ago

On IE (<9) if you try to set a css attribute that the browser does not support, it will produce an error.

By adding a try catch, the error is caught and everything runs smoothly.