Selaa lähdekoodia

don't embed images in HTML pages

Gildas 2 vuotta sitten
vanhempi
sitoutus
8114eef261
2 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 0 0
      lib/single-file-extension.js
  2. 1 1
      src/core/content/content.js

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
lib/single-file-extension.js


+ 1 - 1
src/core/content/content.js

@@ -192,7 +192,7 @@ async function processPage(options) {
 		}
 	};
 	const cancelProcessor = processor.cancel.bind(processor);
-	if (options.insertEmbeddedImage) {
+	if (options.insertEmbeddedImage && options.compressContent) {
 		ui.onInsertingEmbeddedImage(options);
 		openFileInfobar = getOpenFileBar();
 		const cancelled = await openFileInfobar.display();

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä