Change window title to LX Music (#2248)

This commit is contained in:
3gf8jv4dv
2025-02-08 09:57:22 +08:00
committed by GitHub
parent f830b1199a
commit 271c1bcd51
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>洛雪音乐助手</title>
<title>LX Music</title>
</head>
<body id="body" style="background-color: transparent;">
<!-- <div id="waiting-mask">
+1 -1
View File
@@ -38,7 +38,7 @@ export const dateFormat2 = (time: number): string => {
*/
let dom_title = document.getElementsByTagName('title')[0]
export const setTitle = (title: string | null) => {
title ||= '洛雪音乐助手'
title ||= 'LX Music'
dom_title.innerText = title
}