Change window title to `LX Music` (#2248)

pull/2266/head
3gf8jv4dv 2025-02-08 09:57:22 +08:00 committed by GitHub
parent f830b1199a
commit 271c1bcd51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -342,7 +342,7 @@ export const scrollXRTo = (element: ScrollElement<HTMLElement>, to: number, dura
*/
let dom_title = document.getElementsByTagName('title')[0]
export const setTitle = (title: string | null) => {
title ||= '洛雪音乐助手'
title ||= 'LX Music'
dom_title.innerText = title
}

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>Lyric - LX Music</title>
</head>
<body id="body" style="background-color: transparent;">
<div id="root"></div>

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">

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
}