This commit is contained in:
Vanessa 2023-10-18 22:53:44 +08:00
parent 09e2e622fc
commit c894c7d582
5 changed files with 6 additions and 10 deletions

View file

@ -368,7 +368,7 @@ export const setTitle = (title: string) => {
const dragElement = document.getElementById("drag");
const workspaceName = getWorkspaceName();
if (title === window.siyuan.languages.siyuanNote) {
const versionTitle = `${title} - ${workspaceName} - v${Constants.SIYUAN_VERSION}`;
const versionTitle = `${workspaceName} - ${window.siyuan.languages.siyuanNote} v${Constants.SIYUAN_VERSION}`;
document.title = versionTitle;
if (dragElement) {
dragElement.textContent = versionTitle;