mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 14:53:44 +08:00
1 parent
d44d096972
commit
253debb3f9
2 files changed
+3
-2
No files matched your search
@@ -1704,6 +1704,7 @@ document.addEventListener("visibilitychange", () => {
|
||||
|
||||
el.fontDirectoryButton.disabled = !("webkitdirectory" in el.fontDirectoryInput);
|
||||
nativeHost?.installFileInputs(error => showError(error, false));
|
||||
if (nativeHost) document.title = "OFDGo - OFD编辑器";
|
||||
updateSidebarState();
|
||||
boot();
|
||||
|
||||
@@ -10735,7 +10736,7 @@ function renderMeta(keepDetails = false) {
|
||||
});
|
||||
el.documentSelect.value = String(doc.documentIndex || 0);
|
||||
el.metaPanel.setAttribute("data-busy", String(!!doc.detailsPending));
|
||||
document.title = state.doc ? `${nativeHost ? "OFDGo" : "OFDGo WebUI"} - ${state.fileName}` : "OFDGo - OFD编辑器";
|
||||
document.title = `${nativeHost ? "OFDGo" : "OFDGo WebUI"} - ${state.doc ? state.fileName : "OFD编辑器"}`;
|
||||
el.metaFile.textContent = state.fileName;
|
||||
el.metaTitle.textContent = doc.title || "-";
|
||||
el.metaAuthor.textContent = doc.author || "-";
|
||||
|
||||
Reference in new issue
Block a user