Skip to content

Commit

Permalink
fix access denied error
Browse files Browse the repository at this point in the history
  • Loading branch information
aFarkas committed Feb 14, 2012
1 parent 93f37df commit 557cb53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/html5shiv-printshiv.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,9 @@
for (imports = sheet.imports, index = 0, length = imports.length; index < length; index++) {
sheets.push(imports[index]);
}
cssText.push(sheet.cssText);
try {
cssText.push(sheet.cssText);
} catch(er){}
}
}
// wrap all HTML5 elements with printable elements and add the shived style sheet
Expand Down

0 comments on commit 557cb53

Please sign in to comment.