Gildas 2 недель назад
Родитель
Сommit
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) {
 			if (options.backgroundSave) {
 				const hash = options.openEditor ? null : pageData.hash;
 				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 {
 		} else {
 			browser.runtime.sendMessage({ method: "downloads.cancel" });
 			browser.runtime.sendMessage({ method: "downloads.cancel" });