mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
83b97634ff
1 changed files with 2 additions and 1 deletions
|
@ -418,7 +418,8 @@ var FontLoader = {
|
|||
document.documentElement.removeEventListener(
|
||||
'pdfjsFontLoad', checkFontsLoaded, false);
|
||||
|
||||
callback();
|
||||
// Use timeout to fix chrome intermittent failures on font loading.
|
||||
setTimeout(callback, 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue