mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user