Explorar el Código

don't remove existing fonts from the cache

Gildas hace 7 años
padre
commit
7a7ec09087
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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) {