Преглед на файлове

make sure the default value of confirmFilename is set to false by default

Gildas преди 7 години
родител
ревизия
a5f2710481
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      extension/core/bg/config.js

+ 3 - 0
extension/core/bg/config.js

@@ -163,6 +163,9 @@ singlefile.config = (() => {
 		if (config.maxLazyLoadImagesIdleTime === undefined) {
 			config.maxLazyLoadImagesIdleTime = 1000;
 		}
+		if (config.confirmFilename === undefined) {
+			config.confirmFilename = false;
+		}
 	}
 
 	async function getConfig() {