Commit 49506637 authored by Fred Chasen's avatar Fred Chasen
Browse files

document.fonts fall back per #62

parent 26b1929b
Pipeline #307 failed with stage
in 6 minutes and 6 seconds
......@@ -477,7 +477,7 @@ class Chunker {
loadFonts() {
let fontPromises = [];
document.fonts.forEach((fontFace) => {
(document.fonts || []).forEach((fontFace) => {
if (fontFace.status !== "loaded") {
let fontLoaded = fontFace.load().then((r) => {
return fontFace.family;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment