瀏覽代碼

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() {