Ver código fonte

fixed script serialization issue on Firefox

Gildas 7 anos atrás
pai
commit
45091f25c8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      extension/core/bg/core.js

+ 1 - 1
extension/core/bg/core.js

@@ -59,7 +59,7 @@ singlefile.core = (() => {
 		],
 		loadDeferredImages: [
 			"/lib/lazy/content/content-lazy-loader.js",
-			() => this.lazyLoader.getScriptPath = path => browser.runtime.getURL(path)
+			function () { this.lazyLoader.getScriptPath = path => browser.runtime.getURL(path); }
 		],
 		removeAlternativeImages: [
 			"/lib/single-file/modules/html-images-alt-minifier.js"