Browse Source

fix download regression

Gildas 1 năm trước cách đây
mục cha
commit
1184435da1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/core/content/content.js

+ 2 - 0
src/core/content/content.js

@@ -177,6 +177,8 @@ async function savePage(message) {
 							browser.runtime.sendMessage({ method: "downloads.cancel" });
 							browser.runtime.sendMessage({ method: "ui.processCancelled" });
 						}
+					} else {
+						await download.downloadPage(pageData, options);
 					}
 				}
 			} catch (error) {