Set the style element ID.

This commit is contained in:
benbro 2012-05-31 12:05:06 +03:00
parent 4e39685753
commit 6de284acc9

View File

@ -2377,6 +2377,7 @@ var Font = (function FontClosure() {
var styleElement = document.getElementById('PDFJS_FONT_STYLE_TAG');
if (!styleElement) {
styleElement = document.createElement('style');
styleElement.id = 'PDFJS_FONT_STYLE_TAG';
document.documentElement.getElementsByTagName('head')[0].appendChild(
styleElement);
}