Skip to content

Commit 490f5fd

Browse files
committed
Fix use of undefine in FontHandler
1 parent 6e6351d commit 490f5fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/base/FontHandler.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function loadFontFile(fname) {
3636

3737
if (entry?.promises !== undefined) {
3838
return new Promise(resolveFunc => {
39-
cfg.promises.push(resolveFunc);
39+
entry.promises.push(resolveFunc);
4040
});
4141
}
4242

0 commit comments

Comments
 (0)