Просмотр исходного кода

don't remove existing fonts from the cache

Gildas 7 лет назад
Родитель
Сommit
7a7ec09087
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      lib/single-file/font-face-proxy.js

+ 0 - 1
lib/single-file/font-face-proxy.js

@@ -28,7 +28,6 @@ this.fontFaceProxy = this.fontFaceProxy || (() => {
 			featureSettings: "font-feature-settings"
 		};
 
-		Array.from(document.fonts).forEach(fontFace => document.fonts.delete(fontFace));
 		const FontFace = window.FontFace;
 		window.__defineGetter__("FontFace", () => new Proxy(FontFace, {
 			construct(FontFace, argumentsList) {