mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 23:08:49 +01:00
This commit is contained in:
parent
09e2e622fc
commit
c894c7d582
5 changed files with 6 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue