mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
1 parent
d44d096972
commit
253debb3f9
2 files changed
+3
-2
No files matched your search
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="theme-color" content="#fbfcfd">
|
||||
<title>OFDGo - OFD编辑器</title>
|
||||
<title>OFDGo WebUI - OFD编辑器</title>
|
||||
<link rel="manifest" href="./ofdgo.json">
|
||||
<link rel="icon" type="image/x-icon" sizes="16x16 32x32 48x48 64x64 128x128 256x256" href="./ofdgo.ico">
|
||||
<link rel="icon" type="image/svg+xml" href="./ofdgo.svg">
|
||||
|
||||
@@ -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