Explorar o código

fixed script serialization issue on Firefox

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