Explorar o código

don't remove existing fonts from the cache

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
7a7ec09087
Modificáronse 1 ficheiros con 0 adicións e 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) {