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
@@ -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
}