mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Set the style element ID.
This commit is contained in:
parent
4e39685753
commit
6de284acc9
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue