瀏覽代碼

format code

Gildas 2 周之前
父節點
當前提交
cb52eec392
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/common/download.js

+ 1 - 1
src/core/common/download.js

@@ -162,7 +162,7 @@ async function downloadPage(pageData, options) {
 			}
 			if (options.backgroundSave) {
 				const hash = options.openEditor ? null : pageData.hash;
-				await browser.runtime.sendMessage({ method: "downloads.end", taskId: options.taskId, hash , woleetKey: options.woleetKey });
+				await browser.runtime.sendMessage({ method: "downloads.end", taskId: options.taskId, hash, woleetKey: options.woleetKey });
 			}
 		} else {
 			browser.runtime.sendMessage({ method: "downloads.cancel" });