Skip to content

Commit

Permalink
Merge pull request #12 from borgar/master
Browse files Browse the repository at this point in the history
Prevent MSIE8 from choking on "Operation Aborted" errors.
  • Loading branch information
borgar committed May 7, 2012
2 parents 570cd21 + 3a7e283 commit fecc802
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion protovis-msie.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ var vml = {
vml.text_shim = document.getElementById('pv_vml_text_shim') || document.createElement('span');
vml.text_shim.id = 'protovisvml_text_shim';
vml.text_shim.style.cssText = "position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline-block;white-space:nowrap;";
document.body.appendChild( vml.text_shim );
document.body.insertBefore( vml.text_shim, document.body.firstChild );
}
if ( !vml.styles ) {
vml.styles = document.getElementById('protovisvml_styles') || document.createElement("style");
Expand Down
Loading

0 comments on commit fecc802

Please sign in to comment.