This commit is contained in:
Vanessa 2022-05-29 10:06:02 +08:00
parent 125aa092c6
commit 259198a3d5
8 changed files with 10 additions and 11 deletions

View file

@ -213,11 +213,11 @@ export const setTitle = (title: string) => {
const versionTitle = title + " v" + Constants.SIYUAN_VERSION;
document.title = versionTitle;
dragElement.textContent = versionTitle;
dragElement.setAttribute("title", versionTitle)
dragElement.setAttribute("title", versionTitle);
} else {
document.title = title + " - " + window.siyuan.languages.siyuanNote + " v" + Constants.SIYUAN_VERSION;
dragElement.textContent = title;
dragElement.setAttribute("title", title)
dragElement.setAttribute("title", title);
}
};