소스 검색

update URL

Gildas 2 달 전
부모
커밋
03fd85da14
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/ui/content/content-ui-editor-web.js

+ 2 - 0
src/ui/content/content-ui-editor-web.js

@@ -334,6 +334,8 @@ import { downloadPageForeground } from "../../core/common/download.js";
 		} else {
 			const contentDocument = (new DOMParser()).parseFromString(content, "text/html");
 			if (detectSavedPage(contentDocument)) {
+				const { saveUrl } = singlefile.helper.extractInfobarData(contentDocument);
+				pageUrl = saveUrl;
 				if (contentDocument.doctype) {
 					if (document.doctype) {
 						document.replaceChild(contentDocument.doctype, document.doctype);