Change window title to `LX Music` (#2248)
parent
f830b1199a
commit
271c1bcd51
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue