Sfoglia il codice sorgente

activate "remove images for alternative resolutions" by default

Gildas 7 anni fa
parent
commit
3e5556f04d
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      extension/core/bg/config.js

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

@@ -49,7 +49,7 @@ singlefile.config = (() => {
 		autoSaveLoadOrUnload: true,
 		removeAlternativeFonts: true,
 		removeAlternativeMedias: true,
-		removeSrcSet: false
+		removeSrcSet: true
 	};
 
 	let pendingUpgradePromise;
@@ -137,6 +137,9 @@ singlefile.config = (() => {
 		if (config.removeAlternativeMedias === undefined) {
 			config.removeAlternativeMedias = true;
 		}
+		if (config.removeSrcSet === undefined) {
+			config.removeSrcSet = true;
+		}
 		if (config.autoSaveLoadOrUnload === undefined && !config.autoSaveUnload) {
 			config.autoSaveLoadOrUnload = true;
 			config.autoSaveLoad = false;