فهرست منبع

remove legacy infobar

Gildas 2 سال پیش
والد
کامیت
0858f9c7b0
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      src/core/content/content-bootstrap.js

+ 3 - 3
src/core/content/content-bootstrap.js

@@ -219,9 +219,9 @@ function savePage(docData, frames, { autoSaveUnload, autoSaveDiscard, autoSaveRe
 }
 
 async function openEditor(document) {
-	const infobarElement = document.querySelector("singlefile-infobar");
-	if (infobarElement) {
-		infobarElement.remove();
+	const legacyInfobarElement = document.querySelector("singlefile-infobar");
+	if (legacyInfobarElement) {
+		legacyInfobarElement.remove();
 	}
 	serializeShadowRoots(document);
 	const content = singlefile.helper.serialize(document);